]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
watchdog: iTCO_wdt: Replace shutdown function with call to watchdog_stop_on_reboot
authorGuenter Roeck <linux@roeck-us.net>
Tue, 10 Jan 2017 23:21:49 +0000 (15:21 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 24 Feb 2017 22:00:23 +0000 (14:00 -0800)
commitd3d77b5abc175684a3c42a240ee49931ca51d10d
tree8198ec4002ce6aa3e578bac6ff452a3634b8dd69
parent396164b7407b7419a459c1905e9c8a91cb3c307f
watchdog: iTCO_wdt: Replace shutdown function with call to watchdog_stop_on_reboot

The shutdown function calls the stop function.
Call watchdog_stop_on_reboot() from probe instead.

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

- Replace shutdown function with call to watchdog_stop_on_reboot()

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/watchdog/iTCO_wdt.c