clk: sunxi: rewrite sun8i-a23-mbus-clk using the simpler composite clk
authorChen-Yu Tsai <wens@csie.org>
Mon, 25 Jan 2016 13:15:47 +0000 (21:15 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 29 Jan 2016 10:30:29 +0000 (11:30 +0100)
commit8f2bf2ad9673e187b5c2956497003f60e0885e5d
treeedd676725c6047f1f58f46de2998e2b61c4d6f7e
parent3ca2377b6fed7c3db0c064ea73327cc6895e175d
clk: sunxi: rewrite sun8i-a23-mbus-clk using the simpler composite clk

sun8i-a23-mbus-clk used sunxi's factors clk, which is nice for very
complicated clocks, but is not really needed here.

Convert sun8i-a23-mbus-clk to use clk_composite, as it is a gate + mux
+ divider. This makes the code easier to understand.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi/clk-sun8i-mbus.c
This page took 0.026912 seconds and 5 git commands to generate.