From nobody Sun Dec 14 06:20:47 2025 Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E9C4021765C for ; Thu, 23 Jan 2025 11:39:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737632379; cv=none; b=bXlkTGq/jpQwOle7yjowSWWgld6TXgJji/DRIippZwQgcTZh5EOkVCLjFHFkhfMjnyeT/qivaychK5lBIjIT2pQ7PWvPCeHYN5tbbPdfu/LNvpQEz1iVP8YiSWC/n0bT6GPtjfaJEebrHcv3mc8kY84ftv5VFUxv5l2JJO7TUog= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737632379; c=relaxed/simple; bh=LHdZZBs8LqTdaSpOCmU9TByv0nLy7UgO7+chu9ptj08=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ISThDfZdtmqFqtI5gWilwEpcJYzilSkA0znScnV9IW0dntKziQCSS/VrucYYrEVtaIW+jIVWBgKJuOm3HyfklQQqmoR592pM3gi+x/Qb1DXKprC6cELzF07CuPpKFGDR6KtFI1jMmOXTMP1KckVB0hXADnrIKk/n7q5+25JdrFA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Vmrx21SY; arc=none smtp.client-ip=209.85.214.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Vmrx21SY" Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-216426b0865so11526105ad.0 for ; Thu, 23 Jan 2025 03:39:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737632376; x=1738237176; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EBicRp1Zl8mKWJDqg/9fln4v72TIU9xhaEp8a6ynJK8=; b=Vmrx21SYwhSrZFdoFBUPr8kAzyD1BuqBIyM2VauFmgabm3klMTO29RsiYEpMXUutRn ++X90BirTFNUiIqnRrr/J/FwLfxvVE1qUABMGPRuyDzxdaIss0V/2oCDt4oBvPRKN5hi P1mUHHZinD7eA30ygqWFwmOc/ChO2/rZAf3QMlw67Gy9JvngSoxCC7W7y2JNskPxfOrF L1ejlar+06EHbX2fkmHen2dtGLk11LSbh99WUlG1Uizfl+ScdExV6ZYhkW1xm+Qax2FM nPdxv5aoPlbPNJtLBvIwbqxXl1+8PRU1LQqqyEqobji/du+tG+8uKuQ8mV6tNGZ+AeSL We5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737632376; x=1738237176; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EBicRp1Zl8mKWJDqg/9fln4v72TIU9xhaEp8a6ynJK8=; b=Tzyh5dSJ1qedLtkkDhJ0Sc7YGZffy8fn9RscBB8EVZRUVtWuMs2v6/P2NSxfi/ZCLN fBYiYqgkjLklMYM2ZA/0fhi9Tm+Nhs1sHvNFzxX2sxIURZupzFLQSrbW42CPuWMgQK1W wMm15/Hvz35GG4MN/64nyUAbHjDyhGhwJMMGOTCCsEciwzsuSIlHZwGDFXzSboE/BGx+ EEABTI/jg+ofkCyUgeqPeraRzkTVOw1TizNYhpPaa0SNBc6lbZRG/gPY9t+aCjZpRrEd 67orWUhCFaytaUBe1g5k+OfL1OMYZSL1icnhKXgJEQT4LgirkVEEmDz6dEVNk8d1cwV/ TluQ== X-Forwarded-Encrypted: i=1; AJvYcCV9YezKKyUULrcQFh9ooE8bdLxElY1tcF7LGsyrafh+DnbsiwoXEshkBxp8px82ix/e2P2uwpUWCor5jok=@vger.kernel.org X-Gm-Message-State: AOJu0YywDVXOYrQPfOIx7NNqhV3/ZFU9kBpxE2HATdWnwdvYpQQWeETG OikeUgUEyTlzplUorJ00X0IuIVySHWuhcY0URfhHYafcLxki6CKUhINYRp8jGTM= X-Gm-Gg: ASbGncvpTHO8KyRP/K/eGFEeGUkOE70y9am4Un7zMR0dZe5m0tcug2VDslTkHeZNERw tNcA5V5PQG19XAcgtduOxb+tItmuWmW7PAGznMPIf7yc7oMNXtDZrsnVHsGWPWJbaCjmoM4AvxX R6+8al3zVVjadPWwiKd/k/sF9ut7ekSuqoMF0s9NJ8vvP26FNvDCxVXGbFHWUDp6AIBLZ7v6kvX YTJPwZtBV22xw4Io+a6IPmtFnLtVIYO8YT+t/9AwrutexXwvZIwCWbvBn+emS+AADVf64n6dCmI cIbajXY= X-Google-Smtp-Source: AGHT+IEVeVKW2icUS5K8c44XwKvlMP+JRAoHXW+RwI1RCgxUCMtM492yQON+xonJq1vZPLhZ81eMBw== X-Received: by 2002:a17:902:ec81:b0:216:5448:22a4 with SMTP id d9443c01a7336-21c351bcc64mr417493375ad.10.1737632376284; Thu, 23 Jan 2025 03:39:36 -0800 (PST) Received: from localhost ([122.172.84.139]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21c2cea0531sm112676825ad.24.2025.01.23.03.39.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2025 03:39:35 -0800 (PST) From: Viresh Kumar To: "Rafael J. Wysocki" , Viresh Kumar Cc: linux-pm@vger.kernel.org, Vincent Guittot , linux-kernel@vger.kernel.org Subject: [PATCH 28/33] cpufreq: speedstep: Stop setting cpufreq_driver->attr field Date: Thu, 23 Jan 2025 17:06:04 +0530 Message-Id: <2df2aa08d493cb0236361f21589b186c3585c37a.1737631669.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.31.1.272.g89b43f80a514 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The cpufreq core handles this for basic attributes now, the driver can skip setting them. Signed-off-by: Viresh Kumar --- drivers/cpufreq/speedstep-centrino.c | 1 - drivers/cpufreq/speedstep-ich.c | 1 - drivers/cpufreq/speedstep-smi.c | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/cpufreq/speedstep-centrino.c b/drivers/cpufreq/speedst= ep-centrino.c index 3fafedb983b5..3e6e85a92212 100644 --- a/drivers/cpufreq/speedstep-centrino.c +++ b/drivers/cpufreq/speedstep-centrino.c @@ -507,7 +507,6 @@ static struct cpufreq_driver centrino_driver =3D { .verify =3D cpufreq_generic_frequency_table_verify, .target_index =3D centrino_target, .get =3D get_cur_freq, - .attr =3D cpufreq_generic_attr, }; =20 /* diff --git a/drivers/cpufreq/speedstep-ich.c b/drivers/cpufreq/speedstep-ic= h.c index f2076d72bf39..262cfbde9ca7 100644 --- a/drivers/cpufreq/speedstep-ich.c +++ b/drivers/cpufreq/speedstep-ich.c @@ -315,7 +315,6 @@ static struct cpufreq_driver speedstep_driver =3D { .target_index =3D speedstep_target, .init =3D speedstep_cpu_init, .get =3D speedstep_get, - .attr =3D cpufreq_generic_attr, }; =20 static const struct x86_cpu_id ss_smi_ids[] =3D { diff --git a/drivers/cpufreq/speedstep-smi.c b/drivers/cpufreq/speedstep-sm= i.c index 0ce9d4b6dfcc..39265884c3f1 100644 --- a/drivers/cpufreq/speedstep-smi.c +++ b/drivers/cpufreq/speedstep-smi.c @@ -295,7 +295,6 @@ static struct cpufreq_driver speedstep_driver =3D { .init =3D speedstep_cpu_init, .get =3D speedstep_get, .resume =3D speedstep_resume, - .attr =3D cpufreq_generic_attr, }; =20 static const struct x86_cpu_id ss_smi_ids[] =3D { --=20 2.31.1.272.g89b43f80a514