]> asedeno.scripts.mit.edu Git - linux.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)
commit184f9eb6c9a09bb4b348a046c5ceedd47a385065
tree86711ef06dc34d172a1c5052db9a9540c272e91c
parentfc09a36a8798c6eec60fe4f78f6797c3d026a3c5
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