watchdog: Don't overwrite error value in wm831x_wdt_set_timeout()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 16 Nov 2011 11:52:12 +0000 (11:52 +0000)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 16 Nov 2011 21:00:10 +0000 (22:00 +0100)
commitf9849100851b28c8ad83e86d68d5110497a4e9d6
tree59b2eb18141b811dbd5e993d6586293cb7d1e701
parent943ef2ec4f5f14940ea391d25bf93eb99eb2ff2a
watchdog: Don't overwrite error value in wm831x_wdt_set_timeout()

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/wm831x_wdt.c