]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: ts72xx_wdt: Propagate return value from timeout_to_regval
authorGuenter Roeck <linux@roeck-us.net>
Mon, 14 Oct 2013 16:32:48 +0000 (09:32 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 17 Nov 2013 18:38:02 +0000 (19:38 +0100)
commit820abb340d6b4d47ae05fadad33c2ea4827f578c
tree784bf2156e2d429af6e1ce7d218acd4d228aaab7
parenta6fa743ff05616028fb1ba91899cc85ed611319f
watchdog: ts72xx_wdt: Propagate return value from timeout_to_regval

timeout_to_regval() returns a valid error code. Might as well use it.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/ts72xx_wdt.c