2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-11 15:14:03 +08:00
linux-next/drivers/clk/samsung
Sylwester Nawrocki ff8e0ff9b9 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>
2020-09-17 12:05:18 +02:00
..
clk-cpu.c clk: samsung: Use cached clk_hws instead of __clk_lookup() calls 2020-09-17 12:05:18 +02:00
clk-cpu.h clk: samsung: Use cached clk_hws instead of __clk_lookup() calls 2020-09-17 12:05:18 +02:00
clk-exynos4.c clk: samsung: Use cached clk_hws instead of __clk_lookup() calls 2020-09-17 12:05:18 +02:00
clk-exynos5-subcmu.c clk: samsung: Change signature of exynos5_subcmus_init() function 2019-08-08 13:53:42 -07:00
clk-exynos5-subcmu.h clk: samsung: Change signature of exynos5_subcmus_init() function 2019-08-08 13:53:42 -07:00
clk-exynos7.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-exynos3250.c clk: samsung: Use cached clk_hws instead of __clk_lookup() calls 2020-09-17 12:05:18 +02:00
clk-exynos4412-isp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-exynos5250.c clk: samsung: Use cached clk_hws instead of __clk_lookup() calls 2020-09-17 12:05:18 +02:00
clk-exynos5260.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-exynos5260.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-exynos5410.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-exynos5420.c clk: samsung: Use cached clk_hws instead of __clk_lookup() calls 2020-09-17 12:05:18 +02:00
clk-exynos5433.c clk: samsung: Use cached clk_hws instead of __clk_lookup() calls 2020-09-17 12:05:18 +02:00
clk-exynos-audss.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-exynos-clkout.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-pll.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-pll.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-s3c64xx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-s3c2410-dclk.c clk: s3c2410: use devm_platform_ioremap_resource() to simplify code 2019-10-16 16:17:52 -07:00
clk-s3c2410.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-s3c2412.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-s3c2443.c ARM/SAMSUNG EXYNOS ARM ARCHITECTURES: Use fallthrough; 2020-05-19 16:58:42 +02:00
clk-s5pv210-audss.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-s5pv210.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk.c clk: samsung: Remove redundant check in samsung_cmu_register_one 2020-02-12 15:38:44 -08:00
clk.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile clk: samsung: Remove support for Exynos5440 2018-07-24 18:43:52 +02:00