From nobody Sun Dec 14 06:19:52 2025 Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (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 4CBB8217705 for ; Thu, 23 Jan 2025 11:39:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737632384; cv=none; b=Qm526jb/5V93Kiit+4e2httwWALUmZ4RlFu3JAK0fmAMgVLF15fO5IB8xpr6Q+qYvDUiLqCzsLv9d9visxvl1cOsCmohWdB/lQ/ovB1KgLx/Q81FouWgaz99i0FLiEy6EH/GMalDqWiD9uBWZyuZ5MtzHJmIVQRpqx/qQ1Ica1w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737632384; c=relaxed/simple; bh=/RmPuuk1QBdOp+fFd+3u2pJjkPwx9R+qmj0CkPks3v0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=AlhCKy4DouOL5OUR5qdWY14ZgfIv8K5h5kZXoobyQwPvpte/Afpixf0UcuZjrEOH2J09GyfvnPr0wSHRGIJuFo4lJX/i+1XlbzI9sHP0sBk4I8Dmr9Nwm7GaOJTcIw+1a87GbGWMoAEv+mufp70pCfGLLbLFRNGQQVY7p5Ie+LY= 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=qMWkRTXN; arc=none smtp.client-ip=209.85.214.169 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="qMWkRTXN" Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-216634dd574so8756675ad.2 for ; Thu, 23 Jan 2025 03:39:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737632380; x=1738237180; 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=4UBx5rEFZg5PgS8nxgdRfkrF65rnIH7pugxuBKI58m0=; b=qMWkRTXN3VHUyoPzNC0oOZmBpkit1qy/eQ1amcM29oM5zq0/oRpq2fyBpyJ+64U8Sb ftVDcM/J/995U4flbvxGKMMaSzbvuMoBG9MtFLQwx5rg2WzD9isGqG+KzT9So1B/Hxio DT338KHL/CfTwPpD/Rz7bC8oJZ4l5TXuRi3gZ0b45ktr8wCxF2qw43eZ0I2jpiiRubRo H4symqPgsk7zzaTNRLhV0763VzdDz1jJDgse8d/1/Y4YWrrSOYOCvTNTJTcivAAmfG+4 dHc0Tr989gVTNr5WuZjlMB6Wy76zjztovqPYYkHizAmwe24TwAfcu9lz/7VTRlkTYHF0 QnLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737632380; x=1738237180; 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=4UBx5rEFZg5PgS8nxgdRfkrF65rnIH7pugxuBKI58m0=; b=q42pZVGHcHPlGBOsyZwqe5+PKDnao+Rke8PBfUHF6SzQtIofXwuHfvVElE/zlM5IVH wbKGhH95IScK3TEqvFs9J9+6AV3Rjcer6+vWAxXbExmbsVXXX01P903lh08jVvG4J09N Oay1DftqDNB/QK/v1TDCH8PCNP2K9mIswr9ri6MecAhCdVZF0Z2KxKcJuGkKU99n4HNS /EP7e569n0I2K1sYkt7bj5JEHCCOEW26gX9XiBDzU+NysGrUrlNHDewcQYDaXeZWbQp7 jR6wXbS/tPF9Dcwb1z/D69lPoenkVmIYRRPtrT36HqwvvY5N6703U+XaHDtkGZ8zmQsw iboA== X-Forwarded-Encrypted: i=1; AJvYcCXrW+i5UeM/Xo23J3m2CXuaU60U/Z4g8NrZyf7TJdJmDx8XdcXnhQizMvzvhaHXX+Eg/6Wr6TnjNl5oYXk=@vger.kernel.org X-Gm-Message-State: AOJu0YwLALEiEzx1lUjoNIsDaxi1X7YLMB+EXbhV3ZCn0sbkJbjSt0Jc kz3sm3aX5kfmGnpzgtDh4+ZrQahm0wr6BAiEr8t9SnhejLnVw5DGlSq4qkpObqI= X-Gm-Gg: ASbGncskiICKzIYu3Y1s24OjGuEP8/IEIbzWprLLVoIQPt+4/06XAXlrZAyBoFhCm6T vgsudDKAM37OhK0EYnyptI5gMCWykiIW3peX8TmRjtMRYCl5v+UCgt2uCY1ivPS64b7Asiyzpc/ qhOslElSLtvrPTd57Di9O8HgNY5+JDy3CdptkrueI1FTRUEwEYhK+5Yh+QDtuv7j7+eIfNcUW8o EFrepBWY/RfIhYZegdPKNGOYmNEV76KpU+4eu436HMGkBrBOLVMJNx7cVOT9AyxA4Cfv0qfIVq4 CKwxBYMQlqZjYWXqcA== X-Google-Smtp-Source: AGHT+IGvwGQNvEk20SR8FXwOYBdk/eKLULIdQVMu1dIgz8TqDRTBdFlyeE3AUsqvQwO3DrZBqBulzw== X-Received: by 2002:a17:903:41c3:b0:216:386e:dca with SMTP id d9443c01a7336-21c3554c994mr378111625ad.30.1737632379733; Thu, 23 Jan 2025 03:39:39 -0800 (PST) Received: from localhost ([122.172.84.139]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-a9bce3a6157sm12352214a12.39.2025.01.23.03.39.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2025 03:39:39 -0800 (PST) From: Viresh Kumar To: "Rafael J. Wysocki" , Viresh Kumar , Thierry Reding , Jonathan Hunter Cc: linux-pm@vger.kernel.org, Vincent Guittot , linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 29/33] cpufreq: tegra: Stop setting cpufreq_driver->attr field Date: Thu, 23 Jan 2025 17:06:05 +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/tegra186-cpufreq.c | 1 - drivers/cpufreq/tegra194-cpufreq.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/cpufreq/tegra186-cpufreq.c b/drivers/cpufreq/tegra186-= cpufreq.c index c7761eb99f3c..b54a77be54e6 100644 --- a/drivers/cpufreq/tegra186-cpufreq.c +++ b/drivers/cpufreq/tegra186-cpufreq.c @@ -123,7 +123,6 @@ static struct cpufreq_driver tegra186_cpufreq_driver = =3D { .verify =3D cpufreq_generic_frequency_table_verify, .target_index =3D tegra186_cpufreq_set_target, .init =3D tegra186_cpufreq_init, - .attr =3D cpufreq_generic_attr, }; =20 static struct cpufreq_frequency_table *init_vhint_table( diff --git a/drivers/cpufreq/tegra194-cpufreq.c b/drivers/cpufreq/tegra194-= cpufreq.c index 9055dd398e7f..9b4f516f313e 100644 --- a/drivers/cpufreq/tegra194-cpufreq.c +++ b/drivers/cpufreq/tegra194-cpufreq.c @@ -589,7 +589,6 @@ static struct cpufreq_driver tegra194_cpufreq_driver = =3D { .exit =3D tegra194_cpufreq_exit, .online =3D tegra194_cpufreq_online, .offline =3D tegra194_cpufreq_offline, - .attr =3D cpufreq_generic_attr, }; =20 static struct tegra_cpufreq_ops tegra194_cpufreq_ops =3D { --=20 2.31.1.272.g89b43f80a514