watchdog: imxwd: remove remove callback
The imxwd is for resetting the system, so we should not unregister it
during shutdown_barebox() as it may leave us without a restart handler.
Only a bug (not setting reset_wd to NULL in remove()) made the whole
thing work.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c170240 commit 167e93947e9b755b54900ae9870dbcc089f8d6c9
@Sascha Hauer Sascha Hauer authored on 25 Aug 2015
Showing 1 changed file
View
drivers/watchdog/imxwd.c