clk: move the common clock's to_clk_*(_hw) macros to clk-provider.h
authorGeliang Tang <geliangtang@163.com>
Fri, 8 Jan 2016 15:51:46 +0000 (23:51 +0800)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 29 Jan 2016 20:59:50 +0000 (12:59 -0800)
commit5fd9c05c846db98319e75496612da24435cee208
treeeea4db5c7285b5bfe3173b085c3880bdb4277100
parentf9285b54d657f433746df9232068c32ef138ebc4
clk: move the common clock's to_clk_*(_hw) macros to clk-provider.h

to_clk_*(_hw) macros have been repeatedly defined in many places.
This patch moves all the to_clk_*(_hw) definitions in the common
clock framework to public header clk-provider.h, and drop the local
definitions.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
25 files changed:
drivers/clk/clk-composite.c
drivers/clk/clk-divider.c
drivers/clk/clk-fixed-factor.c
drivers/clk/clk-fixed-rate.c
drivers/clk/clk-fractional-divider.c
drivers/clk/clk-gate.c
drivers/clk/clk-gpio.c
drivers/clk/clk-multiplier.c
drivers/clk/clk-mux.c
drivers/clk/imx/clk-busy.c
drivers/clk/imx/clk-fixup-div.c
drivers/clk/imx/clk-fixup-mux.c
drivers/clk/imx/clk-gate-exclusive.c
drivers/clk/mediatek/clk-gate.c
drivers/clk/mediatek/clk-gate.h
drivers/clk/mvebu/common.c
drivers/clk/mvebu/kirkwood.c
drivers/clk/mxs/clk-div.c
drivers/clk/nxp/clk-lpc18xx-ccu.c
drivers/clk/st/clkgen-mux.c
drivers/clk/ti/composite.c
drivers/clk/ti/divider.c
drivers/clk/ti/gate.c
drivers/clk/ti/mux.c
include/linux/clk-provider.h