cpufreq: s3c24xx: move low-level clk reg access into platform code
authorArnd Bergmann <arnd@arndb.de>
Thu, 6 Aug 2020 18:20:54 +0000 (20:20 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Thu, 20 Aug 2020 15:53:22 +0000 (17:53 +0200)
commitc38758e3d574380ccfa583793be14c1cc8a322ff
tree3fd8788497d8cf898cd3450ac57eb8c5c3cd2c25
parent44c01f5ce1c7518886a87d5522528e30e0b4d9f8
cpufreq: s3c24xx: move low-level clk reg access into platform code

Rather than have the cpufreq drivers touch include the
common headers to get the constants, add a small indirection.
This is still not the proper way that would do this through
the common clk API, but it lets us kill off the header file
usage.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20200806182059.2431-37-krzk@kernel.org
[krzk: Rebase and fix -Wold-style-definition]
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/mach-s3c24xx/Kconfig
arch/arm/mach-s3c24xx/Makefile
arch/arm/mach-s3c24xx/cpufreq-utils.c
drivers/cpufreq/Kconfig.arm
drivers/cpufreq/s3c2410-cpufreq.c
drivers/cpufreq/s3c2412-cpufreq.c
drivers/cpufreq/s3c2440-cpufreq.c
drivers/cpufreq/s3c24xx-cpufreq.c
include/linux/soc/samsung/s3c-cpufreq-core.h