clk: samsung: Reduce params count in exynos_register_cpu_clock()
authorSam Protsenko <semen.protsenko@linaro.org>
Sat, 24 Feb 2024 20:20:42 +0000 (14:20 -0600)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 25 Feb 2024 15:52:29 +0000 (16:52 +0100)
commit84d42803e4f163b1b6cb4ae05d91af693a1985c2
tree2844a94c8e98b700297e8f503c1e7bfb66b7146c
parenta36bda74ede4c33dfa95482b56058f13fb64a426
clk: samsung: Reduce params count in exynos_register_cpu_clock()

Pass CPU clock data structure to exynos_register_cpu_clock() instead of
passing its fields separately there. That simplifies the signature of
exynos_register_cpu_clock() and makes it easier to add more fields to
struct samsung_cpu_clock later. This style follows the example of
samsung_clk_register_pll().

No functional change.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Link: https://lore.kernel.org/r/20240224202053.25313-5-semen.protsenko@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/clk/samsung/clk-cpu.c