]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx: gate4: Switch imx_clk_gate4_flags() to clk_hw based API
authorAnson Huang <Anson.Huang@nxp.com>
Wed, 8 Jan 2020 01:53:34 +0000 (09:53 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sun, 12 Jan 2020 06:07:11 +0000 (14:07 +0800)
commit19b8b1e795969df47d514180bbd38df5642161f4
tree1ad725a2f0f00461e7dc5439ba02eda27ea4e01b
parent9a086682ddbe7f09b00eb90ca935cdf8be563c62
clk: imx: gate4: Switch imx_clk_gate4_flags() to clk_hw based API

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

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk.h