]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clk: samsung: Update CPU clk registration
authorWill McVicker <willmcvicker@google.com>
Fri, 15 Oct 2021 19:05:14 +0000 (19:05 +0000)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Sat, 20 Nov 2021 13:22:49 +0000 (14:22 +0100)
commitac48ea3b6737a3cf17bab141a1d64523911da482
tree11391055942d789fa5329b15022b9932e461fb7a
parent2fcde648f128f07504186016f3434b13e5a845d1
clk: samsung: Update CPU clk registration

Convert the remaining exynos clock drivers to use
samsung_clk_register_cpu() or if possible use samsung_cmu_register_one().
With this we can now make exynos_register_cpu_clock() a static function
so that future CPU clock registration changes will use the samsung common
clock driver.

The main benefit of this change is that it standardizes the CPU clock
registration for the samsung clock drivers.

Link: https://lore.kernel.org/r/20211015190515.3760577-1-willmcvicker@google.com
Signed-off-by: Will McVicker <willmcvicker@google.com>
Tested-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
[snawrocki@kernel.org: Fixed build break in clk-exynos4.c, clk-exynos5250.c]
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
drivers/clk/samsung/clk-cpu.c
drivers/clk/samsung/clk-cpu.h
drivers/clk/samsung/clk-exynos3250.c
drivers/clk/samsung/clk-exynos4.c
drivers/clk/samsung/clk-exynos5250.c
drivers/clk/samsung/clk-exynos5420.c