[PATCH] watchdog: trivial fix of spelling mistake on "allocate"
From: Colin King
Date: Mon Apr 25 2016 - 15:20:04 EST
From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
fix spelling mistake, alloacate -> allocate
Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
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;
}
--
2.7.4