rtc: ds1374: wdt: Use watchdog core for watchdog part
authorJohnson CH Chen (陳昭勳) <JohnsonCH.Chen@moxa.com>
Thu, 9 Jul 2020 06:34:06 +0000 (06:34 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 16 Jul 2020 09:24:06 +0000 (11:24 +0200)
commitd3de4beb14a887754b83843bf23b6dbe8d022764
tree08c48577c732e7dcbeb17af40f8097e797bf21ae
parent3567d3d1477289d2ee988ee007507fca69f97eb8
rtc: ds1374: wdt: Use watchdog core for watchdog part

Let ds1374 watchdog use watchdog core functions. It also includes
improving watchdog timer setting and nowayout, and just uses ioctl()
of watchdog core.

Signed-off-by: Johnson Chen <johnsonch.chen@moxa.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/HK2PR01MB328182D5A54BFAA8A22E448AFA640@HK2PR01MB3281.apcprd01.prod.exchangelabs.com
drivers/rtc/Kconfig
drivers/rtc/rtc-ds1374.c