mips: loongsoon2ef: remove private clk api
authorArnd Bergmann <arnd@arndb.de>
Thu, 9 Apr 2020 09:02:28 +0000 (11:02 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 16 Apr 2020 15:34:23 +0000 (17:34 +0200)
commitc02e96304451ad3e22c58235061a8363c30116b6
tree79a628495b6e2d5f767cb78a53c68d3abb0a3451
parent5ceb89f8a301b2d5c2ffa20c9b41eb2501360113
mips: loongsoon2ef: remove private clk api

As platforms are moving to COMMON_CLK in general, loongson2ef
stuck out as something that has a private implementation but
does not actually use it except for setting the frequency of
the CPU itself from the loongson2_cpufreq driver.

Change that driver to call the register setting function directly
and remove the rest of the stub implementation.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/clock.h [deleted file]
arch/mips/include/asm/mach-loongson2ef/loongson.h
arch/mips/loongson2ef/Kconfig
arch/mips/loongson2ef/lemote-2f/clock.c
arch/mips/loongson64/smp.c
drivers/cpufreq/loongson2_cpufreq.c