clk: imx: imx6sx: use imx_obtain_fixed_clk_hw to simplify code
authorPeng Fan <peng.fan@nxp.com>
Thu, 24 Oct 2019 02:59:37 +0000 (02:59 +0000)
committerShawn Guo <shawnguo@kernel.org>
Mon, 28 Oct 2019 08:46:50 +0000 (16:46 +0800)
commit8e1de35d4cebeabcd7a8619f0af34cf2444dc34b
tree5f24b330c4c749fb422310486c2dbea71c758af3
parent184f9eb6c9a09bb4b348a046c5ceedd47a385065
clk: imx: imx6sx: use imx_obtain_fixed_clk_hw to simplify code

imx_obtain_fixed_clk_hw could be used to simplify code to replace
__clk_get_hw(of_clk_get_by_name(node, "name"))

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-imx6sx.c