clk: samsung: Change signature of exynos5_subcmus_init() function
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 8 Aug 2019 14:49:28 +0000 (16:49 +0200)
committerStephen Boyd <sboyd@kernel.org>
Thu, 8 Aug 2019 20:53:42 +0000 (13:53 -0700)
commitbf32e7dbfce87d518c0ca77af890eae9ab8d6ab9
tree327c618e4eff9b620367122223e7aadd4ab269b0
parente1f1ae8002e4b06addc52443fcd975bbf554ae92
clk: samsung: Change signature of exynos5_subcmus_init() function

In order to make it easier in subsequent patch to create different subcmu
lists for exynos5420 and exynos5800 SoCs the code is rewritten so we pass
an array of pointers to the subcmus initialization function.

Fixes: b06a532bf1fa ("clk: samsung: Add Exynos5 sub-CMU clock driver")
Tested-by: Jaafar Ali <jaafarkhalaf@gmail.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Link: https://lkml.kernel.org/r/20190808144929.18685-1-s.nawrocki@samsung.com
Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/samsung/clk-exynos5-subcmu.c
drivers/clk/samsung/clk-exynos5-subcmu.h
drivers/clk/samsung/clk-exynos5250.c
drivers/clk/samsung/clk-exynos5420.c