clk: imx6q: Switch to clk_hw based API
authorAbel Vesa <abel.vesa@nxp.com>
Wed, 29 May 2019 12:26:46 +0000 (12:26 +0000)
committerShawn Guo <shawnguo@kernel.org>
Fri, 7 Jun 2019 00:36:42 +0000 (08:36 +0800)
commit992b703b5b389725c244977360a653648de3de2f
treee0cca403d3fb90e45ba55f13a3d3841eee6f9131
parent3a1d8fe6f445b131572688346a1945bf97201aab
clk: imx6q: Switch to clk_hw based API

Switch the entire clk-imx6q driver to clk_hw based API.
Add imx6q_obtain_fixed_clk_hw helper to clean up the registration
of the clocks that are either found in device tree or are assigned
a fixed zero rate. This switch 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-imx6q.c