]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: Add watchdog_active() routine
authorViresh Kumar <viresh.kumar@st.com>
Mon, 12 Mar 2012 04:21:56 +0000 (09:51 +0530)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 30 May 2012 05:53:46 +0000 (07:53 +0200)
commitf6253955d4405bfd5df14bc366fd670b087b454f
tree54b97861301fa1097126f9d6d42633e835adff72
parent9393bcecb417780ab45a2a575b487831c3b46fad
watchdog: Add watchdog_active() routine

Some watchdog may need to check if watchdog is ACTIVE or not, for example in
their suspend/resume hooks.

This patch adds this routine and changes the core drivers to use it.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/via_wdt.c
drivers/watchdog/watchdog_dev.c
include/linux/watchdog.h