diff options
author | 2020-08-26 19:15:29 +0200 | |
---|---|---|
committer | 2020-09-17 12:05:18 +0200 | |
commit | ff8e0ff9b99643a32f7e33a96867e76d0fa10f76 (patch) | |
tree | 70fdfadddc51c2bedc30bde7151e70f6d704e512 /drivers/usb/cdns3/cdns3-imx.c | |
parent | clk: samsung: exynos5420/5250: Add IDs to the CPU parent clk definitions (diff) | |
download | linux-dev-ff8e0ff9b99643a32f7e33a96867e76d0fa10f76.tar.xz linux-dev-ff8e0ff9b99643a32f7e33a96867e76d0fa10f76.zip |
clk: samsung: Use cached clk_hws instead of __clk_lookup() calls
For the CPU clock registration two parent clocks are required, these
are now being passed as struct clk_hw pointers, rather than by the
global scope names. That allows us to avoid __clk_lookup() calls
and simplifies a bit the CPU clock registration function.
While at it drop unneeded extern keyword in the function declaration.
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Link: https://lore.kernel.org/r/20200826171529.23618-3-s.nawrocki@samsung.com
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions