clk: berlin: Migrate to clk_hw based registration and OF APIs
authorStephen Boyd <stephen.boyd@linaro.org>
Tue, 16 Aug 2016 22:40:52 +0000 (15:40 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 18 Aug 2016 18:30:01 +0000 (11:30 -0700)
commitf6475e29829775fb2d28add14246f755b44cd68d
tree530a26557361a600d2fba38d714c769b0ccf2e10
parent57c4a2ac8f55e6648c36a1df8c4919f06d08d66e
clk: berlin: Migrate to clk_hw based registration and OF APIs

Now that we have clk_hw based provider APIs to register clks, we
can get rid of struct clk pointers while registering clks in
these drivers, allowing us to move closer to a clear split of
consumer and provider clk APIs. We also remove some __init
markings in header files as they're useless and we're in the
area.

Tested-by: Jisheng Zhang <jszhang@marvell.com>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/berlin/berlin2-avpll.c
drivers/clk/berlin/berlin2-avpll.h
drivers/clk/berlin/berlin2-div.c
drivers/clk/berlin/berlin2-div.h
drivers/clk/berlin/berlin2-pll.c
drivers/clk/berlin/berlin2-pll.h
drivers/clk/berlin/bg2.c
drivers/clk/berlin/bg2q.c