diff options
author | Paul Cercueil <paul@crapouillou.net> | 2018-05-10 20:47:47 +0200 |
---|---|---|
committer | James Hogan <jhogan@kernel.org> | 2018-05-14 23:58:23 +0100 |
commit | b6559c8cb8c975d0ab33143b85b21b7156c8e9b2 (patch) | |
tree | dbce2967b431ac7db356acd7ee0c76716551f75b /arch/mips/jz4740/platform.c | |
parent | b4918057f35c5c604325da437db99e70259bd372 (diff) | |
download | linux-b6559c8cb8c975d0ab33143b85b21b7156c8e9b2.tar.bz2 |
watchdog: JZ4740: Drop module remove function
When the watchdog was configured for nowayout, and after the
userspace watchdog daemon closed the dev node without sending the
magic character, unloading this module stopped the watchdog
hardware, which was clearly a problem.
Besides, unloading the module is not possible when the userspace
watchdog daemon is running, so it's safe to assume that we don't
need to stop the watchdog hardware in the jz4740_wdt_remove()
function.
For this reason, the jz4740_wdt_remove() function can then be
dropped alltogether.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Cc: Wim Van Sebroeck <wim@linux-watchdog.org>
Cc: Mathieu Malaterre <malat@debian.org>
Cc: linux-watchdog@vger.kernel.org
Cc: linux-mips@linux-mips.org
Signed-off-by: James Hogan <jhogan@kernel.org>
Diffstat (limited to 'arch/mips/jz4740/platform.c')
0 files changed, 0 insertions, 0 deletions