diff options
| author | Viresh Kumar <viresh.kumar@linaro.org> | 2025-01-22 16:23:51 +0530 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-02-07 09:45:12 +0530 |
| commit | 1a867c7ce6d7f617210c0efcdc242f4d7352a799 (patch) | |
| tree | f3c846fe127d706cc6baa6b21c26fe1bff743899 /drivers/cpufreq/mediatek-cpufreq-hw.c | |
| parent | 06e9a34aa8fcabb37028de0a124ce34c8c951129 (diff) | |
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>
Diffstat (limited to 'drivers/cpufreq/mediatek-cpufreq-hw.c')
| -rw-r--r-- | drivers/cpufreq/mediatek-cpufreq-hw.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/cpufreq/mediatek-cpufreq-hw.c b/drivers/cpufreq/mediatek-cpufreq-hw.c index 9252ebd60373..aa209f5527dc 100644 --- a/drivers/cpufreq/mediatek-cpufreq-hw.c +++ b/drivers/cpufreq/mediatek-cpufreq-hw.c @@ -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) |
