summaryrefslogtreecommitdiff
path: root/drivers/watchdog/s3c2410_wdt.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2017-07-19 11:27:53 +0300
committerWim Van Sebroeck <wim@iguana.be>2017-09-09 21:23:14 +0300
commit1c1b2434017206b612764fad1820b6dd48cb9e92 (patch)
tree1d47103d9aa3c0b6ad81e5a09d5554a5eb2cf810 /drivers/watchdog/s3c2410_wdt.c
parentb51247c8029660a9c49ad48bf38f364479c96215 (diff)
downloadlinux-1c1b2434017206b612764fad1820b6dd48cb9e92.tar.xz
watchdog: renesas_wdt: don't round closest with get_timeleft
We should never return more time left than there actually is. So, switch to a plain divider instead of DIV_ROUND_CLOSEST. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/s3c2410_wdt.c')
0 files changed, 0 insertions, 0 deletions