This converts the watchdog driver for the lantiq SoCs to use the watchdog_device subsystem instead of implementing the ioctls on its own. Changes since: v1: * Removed includes for file system operations * reordered the adding of new defines * Added struct ltq_wdt_hw to store the chip specific function pointer instead of using a typedef * priv->clk_rate now contains the number of clocks the wdt decreases per second * call watchdog_init_timeout() * keep the watchdog running if it was already running before the driver was loaded Hauke Mehrtens (3): wdt: lantiq: update register names to better match spec wdt: lantiq: Convert to watchdog_device wdt: lantiq: add get_timeleft callback drivers/watchdog/Kconfig | 1 + drivers/watchdog/lantiq_wdt.c | 309 ++++++++++++++++++++---------------------- 2 files changed, 148 insertions(+), 162 deletions(-) -- 2.11.0