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

From: Guenter Roeck
Date: Mon Apr 25 2016 - 21:41:52 EST


On 04/25/2016 12:19 PM, Colin King wrote:
From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

fix spelling mistake, alloacate -> allocate

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>

---
drivers/watchdog/jz4740_wdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/watchdog/jz4740_wdt.c b/drivers/watchdog/jz4740_wdt.c
index 6a7d5c3..3f2ddc8 100644
--- 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");
return -ENOMEM;
}