OSDN Git Service

clk: imx: clk-fixup-div: Switch to clk_hw based API
authorAbel Vesa <abel.vesa@nxp.com>
Wed, 29 May 2019 12:26:44 +0000 (12:26 +0000)
committerShawn Guo <shawnguo@kernel.org>
Fri, 7 Jun 2019 00:36:32 +0000 (08:36 +0800)
commit2597b39ed1f5d2b8d079e64c309a766dce4ea26b
tree31b9458475e45ed8408baafcdb0cad65f0f276fd
parentdfc148b32a795293e032dcc1bbe52829f07c2fe4
clk: imx: clk-fixup-div: Switch to clk_hw based API

Switch the imx_clk_fixup_divider function to clk_hw based API, rename
accordingly and add a macro for clk based legacy. This allows us to
move closer to a clear split between consumer and provider clk APIs.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-fixup-div.c
drivers/clk/imx/clk.h