From: Christophe JAILLET Date: Sun, 21 Jul 2019 12:55:47 +0000 (+0200) Subject: watchdog: ath79_wdt: fix a typo in the name of a function X-Git-Tag: v5.4-rc1~31^2~50 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a18670f4617d41829ce88ab3e47bbc406e4dc5e8;p=users%2Fjedix%2Flinux-maple.git 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 Reviewed-by: Guenter Roeck Signed-off-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- diff --git a/drivers/watchdog/ath79_wdt.c b/drivers/watchdog/ath79_wdt.c index 2e09981fe9784..75de664ef4b01 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),