diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-02-24 10:51:27 +0800 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2020-03-18 11:15:25 +0100 |
commit | 436867b6469a2ae38f6b5725aeeeb8211a2aca15 (patch) | |
tree | 3a54ac1503f012ed64979ad99910457296f0b291 /lib/mpi/mpiutil.c | |
parent | 9232c80659e941ffa6c7bfc96bd64c6172ef0452 (diff) |
watchdog: imx2_wdt: Drop .remove callback
.remove callback implementation doesn' call clk_disable_unprepare() which
is buggy, actually, we can just use devm_watchdog_register_device() and
devm_add_action_or_reset() to handle all necessary operations for remove
action, then .remove callback can be dropped.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/1582512687-13312-1-git-send-email-Anson.Huang@nxp.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions