]> git.baikalelectronics.ru Git - kernel.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)
commit0ba9f560ab1c696b1bc4ed7c03bf10ae3c70ac24
tree11391055942d789fa5329b15022b9932e461fb7a
parent465ab88e296cc84bb0971fe006ed280847d1b6c4
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