clk: imx: clk-gate-exclusive: Switch to clk_hw based API
authorAbel Vesa <abel.vesa@nxp.com>
Wed, 29 May 2019 12:26:43 +0000 (12:26 +0000)
committerShawn Guo <shawnguo@kernel.org>
Fri, 7 Jun 2019 00:36:30 +0000 (08:36 +0800)
commitdfc148b32a795293e032dcc1bbe52829f07c2fe4
tree4ea04a456475cf6ed29babee0040fbe156c6f01a
parent995087c91e9c2d0e7f312e6f5cc320b9847265c9
clk: imx: clk-gate-exclusive: Switch to clk_hw based API

Switch the imx_clk_gate_exclusive 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-gate-exclusive.c
drivers/clk/imx/clk.h