Re: [PATCH] watchdog: trivial fix of spelling mistake on "allocate"

From: Joe Perches
Date: Tue Apr 26 2016 - 01:22:52 EST


On Mon, 2016-04-25 at 20:19 +0100, Colin King wrote:
> fix spelling mistake, alloacate -> allocate
[]
> diff --git a/drivers/watchdog/jz4740_wdt.c b/drivers/watchdog/jz4740_wdt.c
[]
> @@ -161,7 +161,7 @@ static int jz4740_wdt_probe(struct platform_device *pdev)
>   drvdata = devm_kzalloc(&pdev->dev, sizeof(struct jz4740_wdt_drvdata),
>          GFP_KERNEL);
>   if (!drvdata) {
> - dev_err(&pdev->dev, "Unable to alloacate watchdog device\n");
> + dev_err(&pdev->dev, "Unable to allocate watchdog device\n");

Might as well delete this line instead.