Skip to content

Commit f577fab

Browse files
committed
cpufreq: tegra: 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 63c778a commit f577fab

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

drivers/cpufreq/tegra186-cpufreq.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ static struct cpufreq_driver tegra186_cpufreq_driver = {
123123
.verify = cpufreq_generic_frequency_table_verify,
124124
.target_index = tegra186_cpufreq_set_target,
125125
.init = tegra186_cpufreq_init,
126-
.attr = cpufreq_generic_attr,
127126
};
128127

129128
static struct cpufreq_frequency_table *init_vhint_table(

drivers/cpufreq/tegra194-cpufreq.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,6 @@ static struct cpufreq_driver tegra194_cpufreq_driver = {
589589
.exit = tegra194_cpufreq_exit,
590590
.online = tegra194_cpufreq_online,
591591
.offline = tegra194_cpufreq_offline,
592-
.attr = cpufreq_generic_attr,
593592
};
594593

595594
static struct tegra_cpufreq_ops tegra194_cpufreq_ops = {

0 commit comments

Comments
 (0)