Skip to content

Commit 0df09bf

Browse files
committed
cpufreq: virtual: Stop setting cpufreq_driver->attr field
The cpufreq core now handles this for basic attributes, including boost frequencies, the driver can skip setting them. Signed-off-by: Viresh Kumar <[email protected]> Acked-by: Rafael J. Wysocki <[email protected]>
1 parent 260d6cd commit 0df09bf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/cpufreq/virtual-cpufreq.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ static struct cpufreq_driver cpufreq_virt_driver = {
265265
.verify = virt_cpufreq_verify_policy,
266266
.target = virt_cpufreq_target,
267267
.fast_switch = virt_cpufreq_fast_switch,
268-
.attr = cpufreq_generic_attr,
269268
};
270269

271270
static int virt_cpufreq_driver_probe(struct platform_device *pdev)

0 commit comments

Comments
 (0)