summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/wm8350_wdt.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-08-12 10:15:53 +0200
committerWim Van Sebroeck <wim@iguana.be>2015-09-09 21:36:39 +0200
commit50ffb53ef2311e4631086d27783b00db6859c60e (patch)
tree83f98b23fd810647db00b43d886b7cf6ca53191f /drivers/watchdog/wm8350_wdt.c
parenta57e06f7c6365f7d6e13f35933d3ef329205c1af (diff)
downloadblackbird-op-linux-50ffb53ef2311e4631086d27783b00db6859c60e.tar.gz
blackbird-op-linux-50ffb53ef2311e4631086d27783b00db6859c60e.zip
watchdog: mpc8xxx: simplify registration
Since commit ef90174f8210 ("watchdog: watchdog_core: Add watchdog registration deferral mechanism") there is no need to delay the call to watchdog_register_device any more. So simplify the registration code accordingly. Resetting wd_base to NULL can the also be dropped because nothing depends on it being NULL to signal probe failure any more. (The matching wd_base = NULL in .remove was missing, too.) Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/wm8350_wdt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud