ARM: 7560/1: SMP_TWD: use DIV_ROUND_CLOSEST() for periodic mode
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 22 Oct 2012 09:17:24 +0000 (10:17 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 22 Oct 2012 14:34:40 +0000 (15:34 +0100)
The periodic mode is currently calculated by a simple division
but we should pay more attention to our integer arithmetics.
Also delete a comment that does not make any sense.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found