From nobody Sun Dec 14 06:16:20 2025 Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) (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 1529E20F065 for ; Thu, 23 Jan 2025 11:38:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737632289; cv=none; b=MavzkTc9ropts7EkpcsKVRbl9D2cBIzhB0Mt+/fpkET0pdCEHVSsdRMn0AnAHhFrADFDgYMzOz5qLAudJTDPKM+Ep1dMItpvlLKWKSm6/PbipoOw0uh7pIknbrAiFWIXnv74N0l5V11sS7wegKpj9CgYeQNGUnXqzF1BHGmAz+o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737632289; c=relaxed/simple; bh=TK/02vJH9qxC6L2RbiiTzvpI0aWvujEjiv/pmlf0b60=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=MyAemQ1OiVzDazqn8O9QH6uLRaSdPdOXKlqOWrFzEo7dOiVqtzJexu9H4Hrsiy0LIjQWJi/IHVzfg9skpe/vYwMh9DCn3/vRVg5pimO8IpA3FOE/EOSUWExKelplZlccLzjn2wCiMAKRHRNLmbHhznRSL6nX4w6kLqMDjfMTb7w= 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=DAislcQ+; arc=none smtp.client-ip=209.85.216.48 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="DAislcQ+" Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-2ef6c56032eso1102972a91.2 for ; Thu, 23 Jan 2025 03:38:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737632287; x=1738237087; 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=pHLQc6TpMRiBo7O03RUpvPo/6POy19GAQNZJ+hIGUAs=; b=DAislcQ+URhaKANnDvJAbPOCYQ7RAIwD9IRp6UWd58LVQHMEAM0LR4vteDyiVcuzeN L6wXVWhOxKl/9q/mkgFxN6iXZgWqHG7poW2SP4lYlSN7JXuDlHChTMbTmFvnfIzQug8r Q+fvhZnBi9CEURcKKHh5Sm5aRyzeDQn8+0xS1G8Hero7ktm39h2HDB+i6DeOiFOFX93+ UYNtDGZ4PuXKVF55EEcHoUtam4kBLt5RM4Vxrh2/AM5RP9675mrxNJYVhfLITdVY5x/P NgDQ6beSdupHouts+75X1qObjS9yBSsShTpspXDW4WvIgbWvQFmkrXMrUZiy7pxqbsDT 6k0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737632287; x=1738237087; 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=pHLQc6TpMRiBo7O03RUpvPo/6POy19GAQNZJ+hIGUAs=; b=KTEI94HGy1JVH7O58k6UivLWxQZE/JF1IXjJikMTYvLpI7daBNkwD6qNQV7VUWLm4Y zZcLbSEWlSUEunAYR6hn33l2ekd4ISireNB+f4bp9VlGx1W+0VKPIZ/NNnp57TaXvKUu KQQEEGssBmgEtrSn5YpszqgX//R7ChGqpKnbpfpScmlUB8JMaMF7FehyLFtFEgwADEZC s6dDlnydiZ1C+tZbOFNsoPJeWCryMm1fIxsJCl0ulAY9oZi4yEZhN9yumfi8FEN6Amtk zdD1SyOqBHn2JLKN1AioaAvjusX17OgiWRAWG6gS/gXCjJp7s6qMXrHm03gQscZYuYwb Pr7w== X-Forwarded-Encrypted: i=1; AJvYcCUYvp82bBom9qAPzHFpb28HAObZTTyROMaf00Za03esq9ajW1SyBblkg95RFZaybgeNA8dSMW+WgU6gYLY=@vger.kernel.org X-Gm-Message-State: AOJu0YwPW+9tPcR1kW38PjHrc0Lpw2K3S5iowb+MpD+tnWypsRBH8aVX B76M8Y9Re4O+FnxkZonlzNF42+lmNSiKueWTWIzD8SC/v2PPXI0kjG3Hx+4aXsg= X-Gm-Gg: ASbGncsGbqzJ6Ae0ffMWniIEv1rMdOBN3q2PI+KzVdrsBWnY3XX07AzOIBRpi1LKYg0 hO+7aY23FIzSrdosjItHHgFwtwbvcNWJacrM7ReBRg+qePiUcBYf9/gBo9asK+wsUkMVwXPeGfU iOb6oIJfea5XRHLCuntFecyep9neV4EqQ5UsTi1cZ2y5UhbzGvhT+LXtwCrM1cyyLqPyz25k3WI noP62UwDL2ZHL1AIM6XY9EWhSKHMFQb+UlPAkGy1jP0ZHzqoalc4aPcJG9pQeHTkSiJEgxoB93d jTCeznY= X-Google-Smtp-Source: AGHT+IHi41Np/qBLdPixkWfJVnY+1Zg5h/hxk1aFRCjn6UmJXabZCfHQZ/z7wsx3IMhaEnina5TEYw== X-Received: by 2002:a05:6a00:2294:b0:728:e745:23cd with SMTP id d2e1a72fcca58-72daf92bbd7mr37719465b3a.3.1737632287338; Thu, 23 Jan 2025 03:38:07 -0800 (PST) Received: from localhost ([122.172.84.139]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72dab7f2e73sm12919004b3a.32.2025.01.23.03.38.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2025 03:38:06 -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 02/33] cpufreq: dt: Stop setting cpufreq_driver->attr field Date: Thu, 23 Jan 2025 17:05:38 +0530 Message-Id: <3ed3afa4e161644ea7f0b71803d409abc7565a87.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/cpufreq-dt.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/cpufreq/cpufreq-dt.c b/drivers/cpufreq/cpufreq-dt.c index 3a7c3372bda7..072ccf0c2e41 100644 --- a/drivers/cpufreq/cpufreq-dt.c +++ b/drivers/cpufreq/cpufreq-dt.c @@ -36,12 +36,6 @@ struct private_data { =20 static LIST_HEAD(priv_list); =20 -static struct freq_attr *cpufreq_dt_attr[] =3D { - &cpufreq_freq_attr_scaling_available_freqs, - NULL, /* Extra space for boost-attr if required */ - NULL, -}; - static struct private_data *cpufreq_dt_find_data(int cpu) { struct private_data *priv; @@ -126,7 +120,6 @@ static int cpufreq_init(struct cpufreq_policy *policy) ret =3D cpufreq_enable_boost_support(); if (ret) goto out_clk_put; - cpufreq_dt_attr[1] =3D &cpufreq_freq_attr_scaling_boost_freqs; } =20 return 0; @@ -169,7 +162,6 @@ static struct cpufreq_driver dt_cpufreq_driver =3D { .offline =3D cpufreq_offline, .register_em =3D cpufreq_register_em_with_opp, .name =3D "cpufreq-dt", - .attr =3D cpufreq_dt_attr, .suspend =3D cpufreq_generic_suspend, }; =20 --=20 2.31.1.272.g89b43f80a514