clk: remove clk-private.h
authorMichael Turquette <mturquette@linaro.org>
Thu, 29 Jan 2015 22:22:50 +0000 (14:22 -0800)
committerMichael Turquette <mturquette@linaro.org>
Mon, 2 Feb 2015 22:23:41 +0000 (14:23 -0800)
commitb09d6d99102504a929cfaba4cd0e07658d7f01d1
tree57bf5300cd8920152daaa79875b3910700eb5170
parentc87ea8a8a0af8b76c1e4d1bd67ed7859c04477a7
clk: remove clk-private.h

Private clock framework data structures should be private, surprisingly.

Now that all platforms and drivers have been updated to remove static
initializations of struct clk and struct clk_core objects and all
references to clk-private.h have been removed we can move the
definitions of these structures into drivers/clk/clk.c and delete the
header.

Additionally the ugly DEFINE_CLK macros have been removed. Those were
used for static definitions of struct clk objects. That practice is no
longer allowed.

Finally __clk_init is staticized as it is no longer declared in any
header.

Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
drivers/clk/clk.c
include/linux/clk-private.h [deleted file]