cpufreq: rockchip: do not select CONFIG_CPUFREQ_DT_PLATDEV for cpufreq-dt
cpufreq-dt-platdev.c is useless on rockchip platform, remove it and save memory. $ ./scripts/bloat-o-meter vmlinux_before vmlinux add/remove: 0/4 grow/shrink: 0/0 up/down: 0/-18284 (-18284) Function old new delta __initcall_cpufreq_dt_platdev_init6 4 - -4 cpufreq_dt_platdev_init 248 - -248 blacklist 8232 - -8232 whitelist 9800 - -9800 Total: Before=10211366, After=10193082, chg -0.18% Change-Id: Ibcc15aa3a8b13afa208c77979b75c617aeaef5fb Signed-off-by: Liang Chen <cl@rock-chips.com>
This commit is contained in:
@@ -247,7 +247,7 @@ comment "CPU frequency scaling drivers"
|
||||
config CPUFREQ_DT
|
||||
tristate "Generic DT based cpufreq driver"
|
||||
depends on HAVE_CLK && OF
|
||||
select CPUFREQ_DT_PLATDEV
|
||||
select CPUFREQ_DT_PLATDEV if !ARM_ROCKCHIP_CPUFREQ
|
||||
select PM_OPP
|
||||
help
|
||||
This adds a generic DT based cpufreq driver for frequency management.
|
||||
|
||||
Reference in New Issue
Block a user