clk: imx: add imx_unregister_hw_clocks
authorPeng Fan <peng.fan@nxp.com>
Thu, 12 Dec 2019 02:58:54 +0000 (02:58 +0000)
committerShawn Guo <shawnguo@kernel.org>
Mon, 23 Dec 2019 03:50:47 +0000 (11:50 +0800)
commit61f35728ba5e047b1802a0dc98da7a7262a95a32
tree851eb0f03caa1644a56906739c4db5fc52e1dc02
parenta4b431f8038a67222fde888a48bcbd704d2daca0
clk: imx: add imx_unregister_hw_clocks

There is a non hw API based imx_unregister_clocks to unregister clocks
when of_clk_add_provider failed. Add a hw API based
imx_unregister_hw_clocks when of_clk_add_hw_provider failed.

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.c
drivers/clk/imx/clk.h