[PATCH 12/33] cpufreq: longhaul: Stop setting cpufreq_driver->attr field

Viresh Kumar posted 33 patches 10 months, 3 weeks ago
[PATCH 12/33] cpufreq: longhaul: 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/longhaul.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/cpufreq/longhaul.c b/drivers/cpufreq/longhaul.c
index bd6fe8638d39..68ccd73c8129 100644
--- a/drivers/cpufreq/longhaul.c
+++ b/drivers/cpufreq/longhaul.c
@@ -906,7 +906,6 @@ static struct cpufreq_driver longhaul_driver = {
 	.get	= longhaul_get,
 	.init	= longhaul_cpu_init,
 	.name	= "longhaul",
-	.attr	= cpufreq_generic_attr,
 };
 
 static const struct x86_cpu_id longhaul_id[] = {
-- 
2.31.1.272.g89b43f80a514