summaryrefslogtreecommitdiff
path: root/drivers/watchdog/ftwdt010_wdt.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-04-08 12:38:39 -0700
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-05-05 21:02:19 +0200
commitca05c2e25120190fc8c818b801fe184b38d09b5a (patch)
tree5a6c3b497ddc5b1ced10e99c7bec5f2c3dc29ffa /drivers/watchdog/ftwdt010_wdt.c
parentd6ab05106a70c584318479ec766f6f82c63e0541 (diff)
watchdog: ftwdt010_wdt: Use 'dev' consistently
Use local variable 'dev' consistently. The conversion was done automatically with coccinelle using the following semantic patches. The semantic patches and the scripts used to generate this commit log are available at https://github.com/groeck/coccinelle-patches Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/ftwdt010_wdt.c')
-rw-r--r--drivers/watchdog/ftwdt010_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/ftwdt010_wdt.c b/drivers/watchdog/ftwdt010_wdt.c
index ecb32c42e839..9ea0e56fa7ee 100644
--- a/drivers/watchdog/ftwdt010_wdt.c
+++ b/drivers/watchdog/ftwdt010_wdt.c
@@ -169,7 +169,7 @@ static int ftwdt010_wdt_probe(struct platform_device *pdev)
ret = devm_watchdog_register_device(dev, &gwdt->wdd);
if (ret) {
- dev_err(&pdev->dev, "failed to register watchdog\n");
+ dev_err(dev, "failed to register watchdog\n");
return ret;
}