diff options
author | Radu Rendec | 2017-10-26 17:10:13 +0100 |
---|---|---|
committer | Wim Van Sebroeck | 2017-12-28 20:45:17 +0100 |
commit | 7af4ac8772a8f9af40f998671e6d09f5de137854 (patch) | |
tree | b48e5a88d031e5dab728a67da47375fed39e6963 /drivers/power | |
parent | 838534e50e2e5c1e644e30ab6cb28da88eb31368 (diff) |
watchdog: i6300esb: use the watchdog subsystem
Change the i6300esb driver to use the watchdog subsystem instead of the
legacy watchdog API. This is mainly just getting rid of the "write" and
"ioctl" methods and part of the watchdog control logic (which are all
implemented by the watchdog subsystem).
Even though the watchdog subsystem supports registering and handling
multiple watchdog devices at the same time, the i6300esb driver still
has a limitation of only one i6300esb device due to some global variable
usage that comes from the original design. However, the driver can now
coexist with other watchdog devices (supported by different drivers).
Signed-off-by: Radu Rendec <rrendec@arista.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions