Skip to content

Commit ac0bcf3

Browse files
committed
cpufreq: qcom: 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 792e6a8 commit ac0bcf3

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

drivers/cpufreq/qcom-cpufreq-hw.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -595,12 +595,6 @@ static void qcom_cpufreq_ready(struct cpufreq_policy *policy)
595595
enable_irq(data->throttle_irq);
596596
}
597597

598-
static struct freq_attr *qcom_cpufreq_hw_attr[] = {
599-
&cpufreq_freq_attr_scaling_available_freqs,
600-
&cpufreq_freq_attr_scaling_boost_freqs,
601-
NULL
602-
};
603-
604598
static struct cpufreq_driver cpufreq_qcom_hw_driver = {
605599
.flags = CPUFREQ_NEED_INITIAL_FREQ_CHECK |
606600
CPUFREQ_HAVE_GOVERNOR_PER_POLICY |
@@ -615,7 +609,6 @@ static struct cpufreq_driver cpufreq_qcom_hw_driver = {
615609
.register_em = cpufreq_register_em_with_opp,
616610
.fast_switch = qcom_cpufreq_hw_fast_switch,
617611
.name = "qcom-cpufreq-hw",
618-
.attr = qcom_cpufreq_hw_attr,
619612
.ready = qcom_cpufreq_ready,
620613
};
621614

0 commit comments

Comments
 (0)