Message ID | 20190721125547.13473-1-christophe.jaillet@wanadoo.fr (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | watchdog: ath79_wdt: fix a typo in the name of a function | expand |
On 7/21/19 5:55 AM, Christophe JAILLET wrote: > 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> > --- > drivers/watchdog/ath79_wdt.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/watchdog/ath79_wdt.c b/drivers/watchdog/ath79_wdt.c > index 02234c254b10..436cdb4f0392 100644 > --- a/drivers/watchdog/ath79_wdt.c > +++ b/drivers/watchdog/ath79_wdt.c > @@ -306,7 +306,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(); > } > @@ -322,7 +322,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), >
diff --git a/drivers/watchdog/ath79_wdt.c b/drivers/watchdog/ath79_wdt.c index 02234c254b10..436cdb4f0392 100644 --- a/drivers/watchdog/ath79_wdt.c +++ b/drivers/watchdog/ath79_wdt.c @@ -306,7 +306,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(); } @@ -322,7 +322,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),
It is likely that 'ath97_wdt_shutdown()' should be 'ath79_wdt_shutdown()' Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> --- drivers/watchdog/ath79_wdt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)