[PATCH 05/33] cpufreq: bmips: Stop setting cpufreq_driver->attr field

Viresh Kumar posted 33 patches 10 months, 3 weeks ago
[PATCH 05/33] cpufreq: bmips: Stop setting cpufreq_driver->attr field
Posted by Viresh Kumar 10 months, 3 weeks ago
The cpufreq core handles this for basic attributes now, the driver can skip
setting them.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 drivers/cpufreq/bmips-cpufreq.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/cpufreq/bmips-cpufreq.c b/drivers/cpufreq/bmips-cpufreq.c
index 17a4c174553d..36051880640b 100644
--- a/drivers/cpufreq/bmips-cpufreq.c
+++ b/drivers/cpufreq/bmips-cpufreq.c
@@ -150,7 +150,6 @@ static struct cpufreq_driver bmips_cpufreq_driver = {
 	.get		= bmips_cpufreq_get,
 	.init		= bmips_cpufreq_init,
 	.exit		= bmips_cpufreq_exit,
-	.attr		= cpufreq_generic_attr,
 	.name		= BMIPS_CPUFREQ_PREFIX,
 };
 
-- 
2.31.1.272.g89b43f80a514
Re: [PATCH 05/33] cpufreq: bmips: Stop setting cpufreq_driver->attr field
Posted by Florian Fainelli 10 months, 3 weeks ago
On 1/23/25 03:35, Viresh Kumar wrote:
> The cpufreq core handles this for basic attributes now, the driver can skip
> setting them.
> 
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>

Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
-- 
Florian