]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx: imx6sll: use imx_obtain_fixed_clk_hw to simplify code
authorPeng Fan <peng.fan@nxp.com>
Thu, 24 Oct 2019 02:59:32 +0000 (02:59 +0000)
committerShawn Guo <shawnguo@kernel.org>
Mon, 28 Oct 2019 08:46:45 +0000 (16:46 +0800)
commit09cc2c29ea65651d4f34c0b22f00974e23d3c3bb
tree86711ef06dc34d172a1c5052db9a9540c272e91c
parentd96b05545fb45dbd62d9a773a73b932f23c05fac
clk: imx: imx6sll: 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-imx6sll.c