From: Lars Poeschel Date: Wed, 17 Jun 2015 08:58:59 +0000 (+0200) Subject: watchdog: omap_wdt: implement get_timeleft X-Git-Tag: omap-for-v4.2/fixes-rc1^2~49^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=452fafed839eb008a8ed9072d63449cb76de617e;p=pandora-kernel.git watchdog: omap_wdt: implement get_timeleft The omap watchdog hardware is able to read the watchdog timer counter register. This implements this functionality in the omap_wdt driver, so one is can read the time until the watchdog will trigger the reset in seconds using WDIOC_GETTIMELEFT. Signed-off-by: Lars Poeschel Reviewed-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed