From: Uwe Kleine-König Date: Mon, 27 Apr 2015 09:22:59 +0000 (+0200) Subject: watchdog: omap: use watchdog_init_timeout instead of open coding it X-Git-Tag: omap-for-v4.3/legacy-v2-signed~78^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4f741e3e157c3a5c8aea5f2ea62b692fbf17338;p=pandora-kernel.git watchdog: omap: use watchdog_init_timeout instead of open coding it Instead of (partly) open coding watchdog_init_timeout to determine the inital timeout use the core function that exists for exactly this purpose. As a side effect the "timeout-sec" device-tree property is recognized now (though currently unused in the omap device trees). Signed-off-by: Uwe Kleine-König Reviewed-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed