summaryrefslogtreecommitdiff
path: root/drivers/watchdog/ar7_wdt.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-04-27 12:22:59 +0300
committerWim Van Sebroeck <wim@iguana.be>2015-06-22 16:54:04 +0300
commita4f741e3e157c3a5c8aea5f2ea62b692fbf17338 (patch)
treecacaeb4946388a9c55a0b50542f7cffc5267c565 /drivers/watchdog/ar7_wdt.c
parent83efa1cbcff406f0305d4b227d356d6bdce8cb13 (diff)
downloadlinux-a4f741e3e157c3a5c8aea5f2ea62b692fbf17338.tar.xz
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 <u.kleine-koenig@pengutronix.de> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/ar7_wdt.c')
0 files changed, 0 insertions, 0 deletions