OSDN Git Service

clk: imx: clk-gate2: Switch to clk_hw based API
authorAbel Vesa <abel.vesa@nxp.com>
Wed, 29 May 2019 12:26:42 +0000 (12:26 +0000)
committerShawn Guo <shawnguo@kernel.org>
Fri, 7 Jun 2019 00:36:22 +0000 (08:36 +0800)
commit1f9aec966256618974dc27fe5eacf361c1da56a5
tree87dc60f01677c29822e862d37ab42cdeff57ec4f
parent2bc7e9dc1c19bfb88b9245b22d5703fb5aaf72de
clk: imx: clk-gate2: Switch to clk_hw based API

Switch the clk_register_gate2 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-gate2.c
drivers/clk/imx/clk.h