From nobody Sun Dec 14 06:19:50 2025 Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (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 D46AE212FA9 for ; Thu, 23 Jan 2025 11:38:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737632323; cv=none; b=dcO3m+sNsUr7N3/BAe2dP+3jZ8m7xeD6LN+wOrqYmKi1TwbQCgioIwfc8/FuxDiS/4gP01AWxBR+vEIF8ZrR8jfIR55CIv4XKtc1hkDvRa8FfB8OGtHbHHJpG1v+JyoCTYK1YO8lrlH6IBXeag1he3HMJzDl1mYXkwwDAsLkUyA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737632323; c=relaxed/simple; bh=gjhLnUgCBEp9meHZg6SfAGfSOVSDJTb1Hpxddkmkf70=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=cdJiZ3CUS22gPC313jnHYD4Q28n7KEKSz1Y3rPHNQpIqFgMn/QlrxgrBZ67+Q/Vk9R31BpN/HWmm6EsFLvx85DMLLzD1lZ2pbNCUQxNzPRRgebQZsgUZSFKyGsdLIInnlHdQlTNCFfwpThrjtdhgmIw95acplctmOT2oMT+O858= 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=JMYf1tG4; arc=none smtp.client-ip=209.85.214.173 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="JMYf1tG4" Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-2163b0c09afso13596745ad.0 for ; Thu, 23 Jan 2025 03:38:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737632321; x=1738237121; 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=/f+R49y7rqR8LPNzeEWH65+ozFeRSdC3z0jYqOQ6KQE=; b=JMYf1tG4EsSKxn+KkXQvic+64WNqEZFcE+rv2kk7oDhrh3RK/t30jNkFEp8Dhs2EdM 9SGuxU0ixP+EWZfUe3gOhPBkdI6ZYqoJuF1YH2UqZL+OZ8LcrwboNmG5r9cGDh8nPDbT 0zba6pOdE4Fb4M4BJC1hN3nVcasrtZEJdolykudUN/FomY8iVPWs32l1a3C/JaNzckq3 tuo1Exfn7iaiDVrLhw81zs+NWKfRsDMuas/r5D2/c5EMRqQbs6H2M4J3pM5M02dHHEiA P88BayOjkL2fHso3iy9e5YIq9cT75aq3JDSVjy985cp6m/AFpa+12tb76FvCVIFa64fU ucog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737632321; x=1738237121; 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=/f+R49y7rqR8LPNzeEWH65+ozFeRSdC3z0jYqOQ6KQE=; b=qJzekjPs91f90lLa4JmQmecHGYkpO2JSAh1/F9XMdcFDuMiqjFVB90C0TC+iuLm976 e08kFCFaaDejtnBjFvHZQXyYn/TnyH/e7LF4QyhxBhk+6yVJwXMLmZZ887VlyRoaoGeq RQMl9X6SkKtdPfhljDvkJI1WsGHeh1PNMbqasj8FT7qft4tTOhPqTE880xXopOx7sYlr Sad296w/zGTgDZAZttVmW09lLQqOmdmtOi5xXRrZEaxt4LFmbTKzsSLWvfsQ206p3/6F toHClwGU/ZQl92mwiAhMHvTbIgTq5htIhQuIYJLU8Z4yheFfAug1tsr4Q9HDRChz3mKS RxnQ== X-Forwarded-Encrypted: i=1; AJvYcCXUG3HWfm6n/qYn1ScmRHph/PeYoxMfDFIYlqG1HXPREPHd/CSAUi0hjh9tKAYiHF6QmUwW8Rd5P9hYXOM=@vger.kernel.org X-Gm-Message-State: AOJu0YyasmuBYvL9rHlyRhKOyc2nPdu1kpvMaCi5Cmm7M1rEA+qKs8rO 2CO49kttJnS0+uL1b9S3vsbdgljsQ6EfEknMaKTrpn7y/ly6pCd+X2AYT0XgBO4= X-Gm-Gg: ASbGncvL16q97sqFmx7NkcAPE5qkqUjuOGI6YpfgLJMWbmoqzLg+4xFOwpiwvo+ocW/ r3pCQhdSTKHguDx8u2VU0XGd1t/9d+jJsZm6oKv1ET78M5kT23IpriDwibB35GnpGkIOxNN2LCY l8tS/iKqv8oFm9RX1SaBD5Dq71/Ba0JLKvCiO5qsDpWZX8W10/8TsJqfDcUqv9xIVOtPGtY7GmO BFn0Gotjo+y5GRYWWH2XCxwVbuT+tuJhUcNSgbgwcslJxYP5nD7Rt5QcN3C3g8HZQjSinUoUWWq 9MCMRa0= X-Google-Smtp-Source: AGHT+IEF1gk8nknAFgH2VOJv+6XrYgoix7hht6At3tn5rpItQbdwTaF2EtfB8RgZioj8Vw2107cNrg== X-Received: by 2002:a17:902:cec3:b0:21a:7cbe:3a9a with SMTP id d9443c01a7336-21c353ee9cfmr386129505ad.14.1737632321228; Thu, 23 Jan 2025 03:38:41 -0800 (PST) Received: from localhost ([122.172.84.139]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21c2d3acf2csm110513615ad.121.2025.01.23.03.38.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2025 03:38:40 -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 12/33] cpufreq: longhaul: Stop setting cpufreq_driver->attr field Date: Thu, 23 Jan 2025 17:05:48 +0530 Message-Id: <2fd835c8f4f626588d2d87cf8892eb66b4f2bf63.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/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 =3D { .get =3D longhaul_get, .init =3D longhaul_cpu_init, .name =3D "longhaul", - .attr =3D cpufreq_generic_attr, }; =20 static const struct x86_cpu_id longhaul_id[] =3D { --=20 2.31.1.272.g89b43f80a514