[PATCH v2 0/2] watchdog: f71808e_wdt: migrate to new kernel API

From: Ahmad Fatoum
Date: Tue Oct 20 2020 - 02:21:45 EST


This series migrates the driver to use first the driver model, then
the new kernel watchdog API.

I tested it on a f81866.

v1 had a wrong title (f71808e_wdt: migrate to kernel). It's available here:
https://lore.kernel.org/linux-watchdog/20200611191750.28096-1-a.fatoum@xxxxxxxxxxxxxx/

v1 -> v2:
- reworked to platform device/driver pair (Guenther)
- squashed identifier renaming into the patches that touch
the respective lines anyway
- fixed checkpatch.pl nitpicks (Guenther)
- fixed locally used variable declared without static (0-day)
- fixed unneded line break due to old line limit (Guenther)
- renamed struct fintek_wdog_data to struct fintek_wdt

Ahmad Fatoum (2):
watchdog: f71808e_wdt: refactor to platform device/driver pair
watchdog: f71808e_wdt: migrate to new kernel watchdog API

drivers/watchdog/Kconfig | 1 +
drivers/watchdog/f71808e_wdt.c | 815 ++++++++++++---------------------
2 files changed, 292 insertions(+), 524 deletions(-)

--
2.28.0