diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2015-08-12 10:15:53 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2015-09-09 21:36:39 +0200 |
commit | 50ffb53ef2311e4631086d27783b00db6859c60e (patch) | |
tree | 83f98b23fd810647db00b43d886b7cf6ca53191f /Documentation/nommu-mmap.txt | |
parent | watchdog: mpc8xxx: remove dead code (diff) | |
download | linux-50ffb53ef2311e4631086d27783b00db6859c60e.tar.xz 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 'Documentation/nommu-mmap.txt')
0 files changed, 0 insertions, 0 deletions