diff options
author | Keguang Zhang <keguang.zhang@gmail.com> | 2023-02-10 14:09:34 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-02-13 19:11:00 +0300 |
commit | e947925f10c250ba3ad2d905006b2e632510310c (patch) | |
tree | 3363bc1c6867409025d6ec7a2dc92c140f0cff1c /arch/mips/loongson32/common/platform.c | |
parent | 108fcad91109bd7e9374ae9d509085f5ec55799b (diff) | |
download | linux-e947925f10c250ba3ad2d905006b2e632510310c.tar.xz |
MIPS: loongson32: Drop obsolete cpufreq platform device
The obsolete cpufreq driver was removed, drop the platform device
and data accordingly.
Link: https://lore.kernel.org/all/20230112135342.3927338-1-keguang.zhang@gmail.com
Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/mips/loongson32/common/platform.c')
-rw-r--r-- | arch/mips/loongson32/common/platform.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/mips/loongson32/common/platform.c b/arch/mips/loongson32/common/platform.c index 311dc1580bbd..64d7979394e6 100644 --- a/arch/mips/loongson32/common/platform.c +++ b/arch/mips/loongson32/common/platform.c @@ -15,7 +15,6 @@ #include <platform.h> #include <loongson1.h> -#include <cpufreq.h> #include <dma.h> #include <nand.h> @@ -62,21 +61,6 @@ void __init ls1x_serial_set_uartclk(struct platform_device *pdev) p->uartclk = clk_get_rate(clk); } -/* CPUFreq */ -static struct plat_ls1x_cpufreq ls1x_cpufreq_pdata = { - .clk_name = "cpu_clk", - .osc_clk_name = "osc_clk", - .max_freq = 266 * 1000, - .min_freq = 33 * 1000, -}; - -struct platform_device ls1x_cpufreq_pdev = { - .name = "ls1x-cpufreq", - .dev = { - .platform_data = &ls1x_cpufreq_pdata, - }, -}; - /* Synopsys Ethernet GMAC */ static struct stmmac_mdio_bus_data ls1x_mdio_bus_data = { .phy_mask = 0, |