clk: imx: clk-composite-8m: Switch to clk_hw based API
authorPeng Fan <peng.fan@nxp.com>
Thu, 12 Dec 2019 02:58:48 +0000 (02:58 +0000)
committerShawn Guo <shawnguo@kernel.org>
Mon, 23 Dec 2019 03:50:44 +0000 (11:50 +0800)
commita4b431f8038a67222fde888a48bcbd704d2daca0
tree43d0f09a692900d90e5e9cb076d6363d48e9aa5b
parent10c34b50f240d0e6507567e86b7bb1a79abd9ff0
clk: imx: clk-composite-8m: Switch to clk_hw based API

Switch the imx8m_clk_hw_composite_flags 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.

Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-composite-8m.c
drivers/clk/imx/clk.h