watchdog: wdt285: Fix variable type
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 15 Feb 2014 09:23:25 +0000 (13:23 +0400)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 31 Mar 2014 11:28:20 +0000 (13:28 +0200)
commit70605d9bab216534a593f3ec8218ab8c015cb452
tree1e2247f211644300a15992831a07c66518fc8d38
parent1cf8a3487d385b3221d07ab6a7a003761e8806c1
watchdog: wdt285: Fix variable type

Variable "new_margin" is checked in the function watchdog_ioctl()
to be non-negative, so change its type to "int".

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/wdt285.c