From nobody Sun Feb 8 02:59:42 2026 Received: from out-189.mta1.migadu.com (out-189.mta1.migadu.com [95.215.58.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D450241664 for ; Sun, 2 Nov 2025 21:53:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.189 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762120427; cv=none; b=UZT5rmes+rHEkX5IjbzwJ70lzv6OL/+fyArk7gwk7K71kDkKzO5kWbhQCi+kDf3ye9Z09dFKuA3umEXH6dwDhNuBoiAeOFphyl6eM4ml4rzvy4+RpBk9hVgHd51I2ZL2+EvaDQvLYdpvCTlQci/rVcpbVyqK6rAghv1Epw2FD0s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762120427; c=relaxed/simple; bh=gn9chDef8Jv4JTAqwQykY3p3eRxNqbdt53dVFKg5cEs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hcXA5IB0/EzOBlvRJPFJ8yrCkNqnhDLC3jS0JHexN7FKGv4tmc76ctAvJCYxN4CcivTCmSGUdQ+bV3jG3Os68BN0TgGqzn08r6FIXdkSJIyz5mXWwpXHTLs21d3J9CZPzUqkWOv9KXXT2GsLZrbm19Kzq3VUt6jB6ifzMPLQIlk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=hELUCtOA; arc=none smtp.client-ip=95.215.58.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="hELUCtOA" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1762120423; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1TA9DdzkAj9lKIweUDB1nhFYqTGkhxc+xWphLpK6kog=; b=hELUCtOAMxAG0592OhwtaUheZ/+m4ECpkcvsOm+fJKOixsWOo1O4Ag9atDln9PC3kuZcWW aBt5LwFMxT4qIjNxHwVcBMrO79qW8L3lr+bzdxNnFJEIBm7iWHdIWzUmJ6I6w9iw4YDsoT SKksI+D6mrwBkVm/R2AokeIGrGbbUyM= From: Denis Benato To: linux-kernel@vger.kernel.org Cc: platform-driver-x86@vger.kernel.org, "Hans de Goede" , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , "Limonciello, Mario" , "Luke D . Jones" , "Alok Tiwari" , "Derek John Clark" , "Mateusz Schyboll" , porfet828@gmail.com, "Denis Benato" , Denis Benato Subject: [PATCH v17 8/9] platform/x86: asus-wmi: rename ASUS_WMI_DEVID_PPT_FPPT Date: Sun, 2 Nov 2025 22:53:18 +0100 Message-ID: <20251102215319.3126879-9-denis.benato@linux.dev> In-Reply-To: <20251102215319.3126879-1-denis.benato@linux.dev> References: <20251102215319.3126879-1-denis.benato@linux.dev> 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 X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" Maintain power-related WMI macros naming consistency: rename ASUS_WMI_DEVID_PPT_FPPT to ASUS_WMI_DEVID_PPT_PL3_FPPT. Link: https://lore.kernel.org/all/cad7b458-5a7a-4975-94a1-d0c74f6f3de5@orac= le.com/ Suggested-by: ALOK TIWARI Signed-off-by: Denis Benato --- drivers/platform/x86/asus-wmi.c | 4 ++-- include/linux/platform_data/x86/asus-wmi.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wm= i.c index 6de633d4a748..64cfc0bf98dd 100644 --- a/drivers/platform/x86/asus-wmi.c +++ b/drivers/platform/x86/asus-wmi.c @@ -1218,7 +1218,7 @@ static ssize_t ppt_fppt_store(struct device *dev, if (value < PPT_TOTAL_MIN || value > PPT_TOTAL_MAX) return -EINVAL; =20 - err =3D asus_wmi_set_devstate(ASUS_WMI_DEVID_PPT_FPPT, value, &result); + err =3D asus_wmi_set_devstate(ASUS_WMI_DEVID_PPT_PL3_FPPT, value, &result= ); if (err) { pr_warn("Failed to set ppt_fppt: %d\n", err); return err; @@ -4602,7 +4602,7 @@ static umode_t asus_sysfs_is_visible(struct kobject *= kobj, else if (attr =3D=3D &dev_attr_ppt_pl1_spl.attr) devid =3D ASUS_WMI_DEVID_PPT_PL1_SPL; else if (attr =3D=3D &dev_attr_ppt_fppt.attr) - devid =3D ASUS_WMI_DEVID_PPT_FPPT; + devid =3D ASUS_WMI_DEVID_PPT_PL3_FPPT; else if (attr =3D=3D &dev_attr_ppt_apu_sppt.attr) devid =3D ASUS_WMI_DEVID_PPT_APU_SPPT; else if (attr =3D=3D &dev_attr_ppt_platform_sppt.attr) diff --git a/include/linux/platform_data/x86/asus-wmi.h b/include/linux/pla= tform_data/x86/asus-wmi.h index a906dfb834ab..2bda18bc4103 100644 --- a/include/linux/platform_data/x86/asus-wmi.h +++ b/include/linux/platform_data/x86/asus-wmi.h @@ -107,7 +107,7 @@ #define ASUS_WMI_DEVID_PPT_PL1_SPL 0x001200A3 #define ASUS_WMI_DEVID_PPT_APU_SPPT 0x001200B0 #define ASUS_WMI_DEVID_PPT_PLAT_SPPT 0x001200B1 -#define ASUS_WMI_DEVID_PPT_FPPT 0x001200C1 +#define ASUS_WMI_DEVID_PPT_PL3_FPPT 0x001200C1 #define ASUS_WMI_DEVID_NV_DYN_BOOST 0x001200C0 #define ASUS_WMI_DEVID_NV_THERM_TARGET 0x001200C2 =20 --=20 2.51.2