watchdog: Add WDIOC_GETTIMELEFT ioctl support to w83627 watchdog driver
authorGreg Lee <glee@swspec.com>
Tue, 13 Sep 2011 00:28:46 +0000 (20:28 -0400)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 5 Nov 2011 20:16:39 +0000 (21:16 +0100)
commitc63b6d02be22899a5c8d47b8ee40e0534cd01a43
tree5ac9fab3b39834efb4eff5f91cbce9d2eda48cf1
parent86b5912880453532440358b1486410ad49ef7672
watchdog: Add WDIOC_GETTIMELEFT ioctl support to w83627 watchdog driver

Add WDIOC_GETTIMELEFT ioctl allowing you to check how much time is left
on the watchdog counter before a reset occurs.

Signed-off-by: Greg Lee <glee [at] swspec.com>
Signed-off-by: Padraig Brady <P@draigbrady.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@google.com>
drivers/watchdog/w83627hf_wdt.c