From nobody Sun Feb 8 08:22:21 2026 Received: from out-189.mta0.migadu.com (out-189.mta0.migadu.com [91.218.175.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 9300C3559E9 for ; Thu, 30 Oct 2025 13:03:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.189 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761829423; cv=none; b=s29YLVOr8SQuFxU/7a8gLTRXgsVuLMTFSsfNyM/PY6Hvg4b+R1ToAUmDDyAsYQ45mIPFTG7vs8AbhIT0KZ5WGhIMDHhobcPtr2NtkPN6sw5/JPOlHgmvq7YrhTUGlavBx2MH/iVeFEFpbyGruRw7kfUyxjmZScYTFOLvreTMAMM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761829423; c=relaxed/simple; bh=hcXpjFnjgKjuF1ADt7m5OcA/a7STH527cObJXWD9bnQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=V3S/TZIQZRJx8CyRaSzcuOjHuYPRO2UR3dzIqxIKUR8pNnut7BOQSL3K2EoRcAzmmpXUtUMrh1QJ6CrZF/6RAcdRDQWobRz6HzmEs9nRnpVt1F4Zij3Rz+r/PsTofQW/iBAlO76zWYMqRGbZnh5zXTIYfknDFSYvV/2yz6vkl8M= 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=B+wryc/q; arc=none smtp.client-ip=91.218.175.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="B+wryc/q" 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=1761829419; 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=RXnp9yGFaXthfMa5lFAvHu19m8DYFcVY7XymM8HAbsg=; b=B+wryc/qcM/5/mQ/EwXa5n0idfn4yGyZiW2V6Pek7Q08e9a08GLe7dqGArPBbarayA1D0a Q7+1QQ9u8HUK2k0XJCosWstIRGqVddGfFpyMc77rzoz0RdvPHl90jPXKVsPYvPdiBolVMC 6X6bF7hlVd3fAC7muGTev165N1/q+r8= 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" , "Denis Benato" , porfet828@gmail.com, Denis Benato Subject: [PATCH v16 8/9] platform/x86: asus-wmi: rename ASUS_WMI_DEVID_PPT_FPPT Date: Thu, 30 Oct 2025 14:03:19 +0100 Message-ID: <20251030130320.1287122-9-denis.benato@linux.dev> In-Reply-To: <20251030130320.1287122-1-denis.benato@linux.dev> References: <20251030130320.1287122-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 260796fee301..3d236f8498d8 100644 --- a/include/linux/platform_data/x86/asus-wmi.h +++ b/include/linux/platform_data/x86/asus-wmi.h @@ -108,7 +108,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