[PATCH v4 0/4] Some impovements about watchdog

From: Liu Xinpeng
Date: Tue Apr 26 2022 - 03:11:25 EST

v1->v2 Update the commit messages
v2->v3 - Add the context about why using watchdog_timeout_invalid.
- Using SET_NOIRQ_SYSTEM_SLEEP_PM_OPS reduces redundant code for
iTCO watchdog.
v3->v4 - For patch 1, update commit message, rename WDAT_TIMEOUT_MIN
to WDAT_MIN_TIMEOUT, keeps consistent with WDAT_DEFAULT_TIMEOUT.
- For patch 4, iTCO_wdt_suspend_noirq and iTCO_wdt_resume_noirq
are possible unused, so keep "ifdef CONFIG_PM_SLEEP ... #endif".

Thanks Guenter Roeck and Tzung-Bi Shih's suggestions.

Liu Xinpeng (4):
watchdog: wdat_wdg: Using the existed function to check parameter
watchdog: wdat_wdg: Stop watchdog when rebooting the system
watchdog: wdat_wdg: Stop watchdog when uninstalling module
watchdog: iTCO_wdg: Make code more clearly with macro definition

drivers/watchdog/iTCO_wdt.c | 12 +++---------
drivers/watchdog/wdat_wdt.c | 7 +++++--
2 files changed, 8 insertions(+), 11 deletions(-)