From nobody Sun Dec 14 06:17:15 2025 Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (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 E603E217F5C for ; Thu, 23 Jan 2025 11:39:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737632388; cv=none; b=grGhj3FW5a+ZmlFtYdlw1pCgdQzrcARjD4AvNT8FdRsYJR3pShvfvDI8bGeJIcbjIo13hbgl8az1J82ZDCmpG3E+nPfj75hZUC1WW+QJKK6/mOD+TK3aNz5GSoRo0/DLq6BVWHHhsDjtb4Zy/9yQD43+/LIjqJtx21jedmLmtB4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737632388; c=relaxed/simple; bh=qdYaBq1Q1yEL+rIvhlhaYVfASvfIfTKZczb9vnsCgp8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ncDTeEC9OFSE2fRgvPpkUySLcUhHgzBI1XdwU4exRVjW8AosijdFp5Sk6ibQ1EKgw795KZh7srpUiAqwJjzJPNi0CnovEe3LXIYz9Z3vR6zsPqCiplwov8oTiBFGyUC2LopMNrnVgo9ibr5Rn5zc52gFnMU2Em22GUROCH/fAwU= 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=JO7+CGEc; arc=none smtp.client-ip=209.85.214.174 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="JO7+CGEc" Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-2163b0c09afso13614225ad.0 for ; Thu, 23 Jan 2025 03:39:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737632386; x=1738237186; 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=mZN744IIikaolPVQBfMUPuwC2jdu5k0xBOOUnBiu/B0=; b=JO7+CGEcnOHTFFWwDCWD3e8GpBvtcCB8GNiXsofXpG4oPow5l98Qlkr/h2sFZ14pM6 VfUq0/xzalBj9JQBI8X1wz7pniYshz7A9elNoV9dklRTzx1kD0DlDZwLCbGO3xuEWqj3 a/8MWMb5CTVVlGzbEc+tTsYS2CHLtd7rUyI2tDenKtUZ23Pf0eIMIm/+aJhnEECQAvRp nqgB7FwgrepKxSn6s7njdR/o95bYVu5Z0XNbJauRwtxxwQdYF+GXXstZXRGqOiG8Tpem YaxfbQevPWRC+6QvUGePXeH1PDWXmLGCDdSmCgSWeKl/7bzcbmYGsOZbS0GtVLOH1EZE HeHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737632386; x=1738237186; 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=mZN744IIikaolPVQBfMUPuwC2jdu5k0xBOOUnBiu/B0=; b=sbE07oc66bc9O92dI7eefPXS7QTSHNtTMcpdlNqutq8N6p3QtM9dUtrNI7yDyX3nhq o/KuJHOlTv2GHdmfKKPFoy1umIMKK5J/hEsv9DpciA30zLQRBovSS3meGnbxT3iGKlGg Y6Q4iI8hJztlAob/eSW+PSXRfz/LTZnA95aqAdJ7/qckfaKcNV7clolsAs8AL/N28ydu 9HNzw/yHCAhbKKYkEqHCWw2pnXIiRFTl+J+yd0bxaY1IbSXgpAzc23RF3yNiJp6+k+lV Sj7m6ueKx9hyp718rYHB9n9UG7SDDbWRKZnhW9Yl+oroPYE+4lraSnKIEDRmQKQUBYEc tiQA== X-Forwarded-Encrypted: i=1; AJvYcCWAigMn28pWgoPzAPVoAH/zPxom2ZtZ+OsEQZJ/M7Lg6kuaYiy1zdtiIzgFrOffOU5Z4wUUVDyXkvkS50c=@vger.kernel.org X-Gm-Message-State: AOJu0YyH+KqUQxz75nCWQsmYmxShx9V6g2hxvVGVeLRN5TYWjFWnPcGE wM5WDmafSO5MPNPnt1USZSqEwMX74nfruGwgDDOX6T4RKvfhaDVW11XJwmWGmw0= X-Gm-Gg: ASbGnctPAC9hEQifjxqyXfeCSCn1KEKn+rC7yO/NzMmsi1w2l5qMry1hwqrBFY00yzD N341wRcC/v3crIQFYnDlK3rt1T8E8TdST8s+1yhNFpaK2NkvOHA7xQK8M8wsuc/D0dlRuw+5uAI MgMz3iqapx0XcRUOA+D6US4EhXBYbcEEZhK7tfZTQciDRtZfw19uoU4UsLefIxv5Ac9U8DuNFYG 95NjIhoV6zOhjYnc9bexJrHmpw88XOU052Fztev3iVRO7Ofwov7pEC2RxtW6Wpj8Na7XjvTE2VM QmmDomc= X-Google-Smtp-Source: AGHT+IH8bcJpDg4V5yC0nWgdxJWWOCO6JUGTm1wcRp6iDPkksvPd9U80jdnIZi+pnk1nG+wxG9yuSA== X-Received: by 2002:a17:902:eccc:b0:20b:8a71:b5c1 with SMTP id d9443c01a7336-21c352c7d0fmr420284665ad.1.1737632386324; Thu, 23 Jan 2025 03:39:46 -0800 (PST) Received: from localhost ([122.172.84.139]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21c2cebaebcsm111592955ad.99.2025.01.23.03.39.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2025 03:39:45 -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 31/33] cpufreq: virtual: Stop setting cpufreq_driver->attr field Date: Thu, 23 Jan 2025 17:06:07 +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 driver can skip setting them. Signed-off-by: Viresh Kumar --- drivers/cpufreq/virtual-cpufreq.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/cpufreq/virtual-cpufreq.c b/drivers/cpufreq/virtual-cp= ufreq.c index a050b3a6737f..45becb92aa4a 100644 --- a/drivers/cpufreq/virtual-cpufreq.c +++ b/drivers/cpufreq/virtual-cpufreq.c @@ -265,7 +265,6 @@ static struct cpufreq_driver cpufreq_virt_driver =3D { .verify =3D virt_cpufreq_verify_policy, .target =3D virt_cpufreq_target, .fast_switch =3D virt_cpufreq_fast_switch, - .attr =3D cpufreq_generic_attr, }; =20 static int virt_cpufreq_driver_probe(struct platform_device *pdev) --=20 2.31.1.272.g89b43f80a514