watchdog: at91sam9_wdt: fix secs_to_ticks
authorBoris BREZILLON <b.brezillon@overkiz.com>
Sun, 3 Nov 2013 17:52:42 +0000 (18:52 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 28 Jan 2014 20:34:18 +0000 (21:34 +0100)
commit1444797fc178b58e91cf29a438efd05dd890d43a
tree3589e443cb8d76067e4d9c2fa9b65a375d463c82
parent705b675db92bbbda47507205a37784d2d0ab8c0d
watchdog: at91sam9_wdt: fix secs_to_ticks

Fix the secs_to_ticks macro in case 0 is passed as an argument.

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/at91sam9_wdt.c