diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2019-07-21 14:55:47 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-07-24 20:21:39 +0200 |
commit | a18670f4617d41829ce88ab3e47bbc406e4dc5e8 (patch) | |
tree | 3ae68af39187e11f6319db6623749249320c7da4 /drivers/watchdog | |
parent | ad5e427e0f6b702e52c11d1f7b2b7be3bac7de82 (diff) | |
download | linux-a18670f4617d41829ce88ab3e47bbc406e4dc5e8.tar.gz linux-a18670f4617d41829ce88ab3e47bbc406e4dc5e8.tar.bz2 linux-a18670f4617d41829ce88ab3e47bbc406e4dc5e8.zip |
watchdog: ath79_wdt: fix a typo in the name of a function
It is likely that 'ath97_wdt_shutdown()' should be 'ath79_wdt_shutdown()'
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/ath79_wdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/ath79_wdt.c b/drivers/watchdog/ath79_wdt.c index 2e09981fe978..75de664ef4b0 100644 --- a/drivers/watchdog/ath79_wdt.c +++ b/drivers/watchdog/ath79_wdt.c @@ -302,7 +302,7 @@ static int ath79_wdt_remove(struct platform_device *pdev) return 0; } -static void ath97_wdt_shutdown(struct platform_device *pdev) +static void ath79_wdt_shutdown(struct platform_device *pdev) { ath79_wdt_disable(); } @@ -318,7 +318,7 @@ MODULE_DEVICE_TABLE(of, ath79_wdt_match); static struct platform_driver ath79_wdt_driver = { .probe = ath79_wdt_probe, .remove = ath79_wdt_remove, - .shutdown = ath97_wdt_shutdown, + .shutdown = ath79_wdt_shutdown, .driver = { .name = DRIVER_NAME, .of_match_table = of_match_ptr(ath79_wdt_match), |