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)
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>

No differences found