summaryrefslogtreecommitdiff
path: root/drivers/clk/nxp
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2020-08-26 20:15:29 +0300
committerSylwester Nawrocki <s.nawrocki@samsung.com>2020-09-17 13:05:18 +0300
commitff8e0ff9b99643a32f7e33a96867e76d0fa10f76 (patch)
tree70fdfadddc51c2bedc30bde7151e70f6d704e512 /drivers/clk/nxp
parent1f6e17d20245e86678c75ed99ce115f46cd3410f (diff)
downloadlinux-ff8e0ff9b99643a32f7e33a96867e76d0fa10f76.tar.xz
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/clk/nxp')
0 files changed, 0 insertions, 0 deletions