clk: imx: gate3: Switch to clk_hw based API
authorPeng Fan <peng.fan@nxp.com>
Thu, 12 Dec 2019 02:59:04 +0000 (02:59 +0000)
committerShawn Guo <shawnguo@kernel.org>
Mon, 23 Dec 2019 03:50:51 +0000 (11:50 +0800)
commit02cb0228e98c01e0e78c71ae4763317bd6fb9455
tree53ada0f92c1658c9104f28f297870d3180440c6d
parent3d43f1582c455433276d88828cdb9054bbecf2fe
clk: imx: gate3: Switch to clk_hw based API

Switch the imx_clk_hw_gate3_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.h