ARM: plat-nomadik: use DIV_ROUND_CLOSEST()
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 18 Oct 2012 09:12:31 +0000 (11:12 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Nov 2012 08:55:32 +0000 (09:55 +0100)
Use DIV_ROUND_CLOSEST() to calculate the cycle counter for the
periodic mode instead of relying on homebrew reimplementation.

Cc: Alessandro Rubini <rubini@unipv.it>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found