]> asedeno.scripts.mit.edu Git - linux.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)
commit8d18f6fc75c86b2efa5865655a0630a083c8a1fd
treeb606747c82da762713b265676583db87379c32e6
parent24e8a5db8ae46bf021d3b4063c005f443282ab4f
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