clk: bcm/kona: use DIV_ROUND_CLOSEST_ULL()
authorJavi Merino <javi.merino@arm.com>
Thu, 16 Apr 2015 19:43:48 +0000 (12:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:03:55 +0000 (09:03 -0400)
commitaa7762010a4340a12a87a54b7a402adcdce8cfa9
treea2126011ab39b8af6cd755be7285d6668f675536
parentf766093ecb647f5a87bfa456715abbbccee547ce
clk: bcm/kona: use DIV_ROUND_CLOSEST_ULL()

Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal
implementation and use the kernel one.

Signed-off-by: Javi Merino <javi.merino@arm.com>
Cc: Mike Turquette <mturquette@linaro.org>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Alex Elder <elder@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/clk/bcm/clk-kona.c
drivers/clk/bcm/clk-kona.h