]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource/drivers/renesas-ostm: Use DIV_ROUND_CLOSEST() helper
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 7 Aug 2019 08:46:33 +0000 (10:46 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 26 Aug 2019 22:31:39 +0000 (00:31 +0200)
commit6ad13ae758ae4ae15007c70ce66932a075f7b1b5
treeb606747c82da762713b265676583db87379c32e6
parent0f8189a68c8a30708ed5a4a5ea54fb4d0da594a2
clocksource/drivers/renesas-ostm: Use DIV_ROUND_CLOSEST() helper

Use the DIV_ROUND_CLOSEST() helper instead of open-coding the same
operation.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/renesas-ostm.c