From nobody Sun Dec 14 06:19:53 2025 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (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 A081E214A6B for ; Thu, 23 Jan 2025 11:39:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737632344; cv=none; b=j0QGRbsvt+1m6UXxmZJhaF71jQ5k+ji3Rwag1D2r1I3agkpGdZLRsJazRIHrvOFo0Ma9fDKLDx/E0NQv2WV5fmB4Mtq5KmFZCeYgOZo+w5DAv2CofQMqKBSXfs2rwEw7JMpI+TUjjfFCZ4Uul2SttjdgTnfJhvaSWfDctcrDWT0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737632344; c=relaxed/simple; bh=1TgBER8sFGZQgqK+x2ai4Zw+YEr6+EpZ4fRhfGjT9Uc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=NuIspIo74Ls35CwKEfXq9RZgi8HHnayr6x+FW7n1mIFe53AVFGUmX2Qme1kaGXlEZ8v5Y4jd2G2I1gMpADnTm9UvdMSzgs8pyLfw+eFvdn1YzYAd1l1/UAe9hamcL0uvtcPI+zpWfI7w6FZDtGnaoRHp+dxfV1hTTLMJRYAlIi0= 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=mEX0CHpN; arc=none smtp.client-ip=209.85.214.177 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="mEX0CHpN" Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-2166360285dso12903795ad.1 for ; Thu, 23 Jan 2025 03:39:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737632342; x=1738237142; 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=QfvCGCHZNCxyn69/UWRqVioH0Lp44Bh/3oJ9xo86mtE=; b=mEX0CHpN8f+5R+8BRYRQ4PeGF3Js/rDGTNSJ6BgdZXhJlaeaz8D3CVo8CrTyNY7OQB xQTjeZe3sL6lBU1kKaL6/DtWe1ds3MIgtkeqE1nyoT4epz6JxjCVYW6JKVemUvfLDQOr HSBMlFgfTmDNWR+QPyEbLznbQplX7YWRgjU7UtIe9nPu+5yD3RON0cV0tOQn8C2xdphg IQeL2WVtDK1BubUR0uhbbazSB87hjXiLFDpq3EQbH17k4+7Rx7CBSa4xnKHwQKyaOnso toJocC+3TJQZQkEuzmJ7JrBYslJVm9pGeE8HzyxD9nV3neNi7x4VHheWniFr4BtzzRh0 hBwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737632342; x=1738237142; 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=QfvCGCHZNCxyn69/UWRqVioH0Lp44Bh/3oJ9xo86mtE=; b=g3d34JwAB8X3nQpSf7R0xlpwxpFhoyE85JFRfafbWwWY3FXhvInGUWTJ9R+B6jn94n G6R9GWbDsWbzmY8C7UbQtEnz5IXz7gCU1w/GN0zTOHLa4tOpl04cRuqIZMa27MoDwdPm xnosL0Q8e2TQEs3LEZPgFTALqk/NNgbayrYbjHOHMhb8VIjVzgLjs//Jppou6/pT5XVP HamL9CifMmb0l7umfX6gTI1P754FWOc4+f0v+WeuVG5xOuE86FRXsW+90z3Anx+nrlFm l7jvFnSXcK1p6M7cWBfT2p+hqvJpAx+9fpar9FExXWtDaxhgAM/zaS8LinbSsZW5IlN+ SdaA== X-Forwarded-Encrypted: i=1; AJvYcCWlpHzai52B/kx61A97qhQCc6/XzRzAItHGYT6YK1fEiUhcOdysjjCnMDvHvETR5f3dOLclpXhrQ4x2mGU=@vger.kernel.org X-Gm-Message-State: AOJu0YzRy6l5X/Jc65eIjUn6lyxMbO0ZBcqyfXUjExYx+yjNPEoPjNzS m4ZJPV0UVgEVU/ZQVn4XmfybBPT0h+w8fpgD3tsqk+B6j175SvqVmWbzZoWCOaQ= X-Gm-Gg: ASbGnct/xmORk0PG2dsmj4hWkvSnIf/+tq5l9frCi/hI4XoY6pVhRwDYNYJqeKpUhZs ec4DaVrdGO7kRqMH7qOTsIDOlxRlQ54rrEVvv+RrNOjCvmz05dBVy0CU5flXaCghxh5RuqEAw2k u+/Xs1tKrOXSip+bYUC855+DZCn1zoKLHCOpUgzHsvuo5/c5wzvtRW07wpYqtGoqTQEodoaC1d9 7zWfVYEpnQa0odDNGlBc4zrgj161vgGl3uPzDRQOV0Egw9rT5uJOQoTFp+KRE9skk62TGot9iRh vk7fXwg= X-Google-Smtp-Source: AGHT+IFOTJp7fcVtErTm2ko8MfwAJVCJqrxtj35BJRTuPk8xc83dAT0RCHhiqJHyXYcuqQ3GU0FTBg== X-Received: by 2002:a17:902:c943:b0:215:5bd8:9f92 with SMTP id d9443c01a7336-21c351d328amr426236855ad.5.1737632342032; Thu, 23 Jan 2025 03:39:02 -0800 (PST) Received: from localhost ([122.172.84.139]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21c2d3deb6csm111272655ad.175.2025.01.23.03.39.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2025 03:39:01 -0800 (PST) From: Viresh Kumar To: "Rafael J. Wysocki" , Viresh Kumar , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Naveen N Rao , Madhavan Srinivasan Cc: linux-pm@vger.kernel.org, Vincent Guittot , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 18/33] cpufreq: pmac: Stop setting cpufreq_driver->attr field Date: Thu, 23 Jan 2025 17:05:54 +0530 Message-Id: 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 drivers can skip setting them. Signed-off-by: Viresh Kumar --- drivers/cpufreq/pmac32-cpufreq.c | 1 - drivers/cpufreq/pmac64-cpufreq.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/cpufreq/pmac32-cpufreq.c b/drivers/cpufreq/pmac32-cpuf= req.c index 6c9f0888a2a7..a22c22bd693a 100644 --- a/drivers/cpufreq/pmac32-cpufreq.c +++ b/drivers/cpufreq/pmac32-cpufreq.c @@ -439,7 +439,6 @@ static struct cpufreq_driver pmac_cpufreq_driver =3D { .suspend =3D pmac_cpufreq_suspend, .resume =3D pmac_cpufreq_resume, .flags =3D CPUFREQ_NO_AUTO_DYNAMIC_SWITCHING, - .attr =3D cpufreq_generic_attr, .name =3D "powermac", }; =20 diff --git a/drivers/cpufreq/pmac64-cpufreq.c b/drivers/cpufreq/pmac64-cpuf= req.c index 74ff6c47df29..80897ec8f00e 100644 --- a/drivers/cpufreq/pmac64-cpufreq.c +++ b/drivers/cpufreq/pmac64-cpufreq.c @@ -332,7 +332,6 @@ static struct cpufreq_driver g5_cpufreq_driver =3D { .verify =3D cpufreq_generic_frequency_table_verify, .target_index =3D g5_cpufreq_target, .get =3D g5_cpufreq_get_speed, - .attr =3D cpufreq_generic_attr, }; =20 =20 --=20 2.31.1.272.g89b43f80a514