mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 11:01:06 -04:00
cpufreq: mediatek: 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 <viresh.kumar@linaro.org> Acked-by: Rafael J. Wysocki <rafael@kernel.org>
This commit is contained in:
@@ -293,7 +293,6 @@ static struct cpufreq_driver cpufreq_mtk_hw_driver = {
|
||||
.register_em = mtk_cpufreq_register_em,
|
||||
.fast_switch = mtk_cpufreq_hw_fast_switch,
|
||||
.name = "mtk-cpufreq-hw",
|
||||
.attr = cpufreq_generic_attr,
|
||||
};
|
||||
|
||||
static int mtk_cpufreq_hw_driver_probe(struct platform_device *pdev)
|
||||
|
||||
@@ -618,7 +618,6 @@ static struct cpufreq_driver mtk_cpufreq_driver = {
|
||||
.exit = mtk_cpufreq_exit,
|
||||
.register_em = cpufreq_register_em_with_opp,
|
||||
.name = "mtk-cpufreq",
|
||||
.attr = cpufreq_generic_attr,
|
||||
};
|
||||
|
||||
static int mtk_cpufreq_probe(struct platform_device *pdev)
|
||||
|
||||
Reference in New Issue
Block a user