rockchip: remove log2 reimplementation from clock drivers
authorHeiko Stübner <heiko@sntech.de>
Fri, 22 Jul 2016 21:51:06 +0000 (23:51 +0200)
committerSimon Glass <sjg@chromium.org>
Sat, 6 Aug 2016 00:07:07 +0000 (18:07 -0600)
commitabd0128eb12232948c6b7d3ad88132bb2d4897f8
treeafeb9967661cc3cd950f61bb67e13ea579655acb
parent75a52bd770bcaa3fd065237538263f8e11240fe0
rockchip: remove log2 reimplementation from clock drivers

The already available ilog2 function does exactly the same in the common
case than the log2 function the current clock-driver reimplement.
So, simply move to that one.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/clk/rockchip/clk_rk3036.c
drivers/clk/rockchip/clk_rk3288.c