[U-Boot] [U-Boot,4/4] rockchip: clk: remove RATE_TO_DIV

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Wed Jul 26 11:11:35 UTC 2017


> Use DIV_ROUND_UP instead RATE_TO_DIV for all Rockchip SoC
> clock driver.
> 
> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
> ---
> 
>  drivers/clk/rockchip/clk_rk3188.c | 7 ++-----
>  drivers/clk/rockchip/clk_rk322x.c | 3 ---
>  drivers/clk/rockchip/clk_rk3288.c | 5 +----
>  drivers/clk/rockchip/clk_rk3368.c | 7 ++-----
>  drivers/clk/rockchip/clk_rk3399.c | 2 +-
>  drivers/clk/rockchip/clk_rv1108.c | 3 ---
>  6 files changed, 6 insertions(+), 21 deletions(-)
> 

Acked-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>


More information about the U-Boot mailing list