[PATCH] pinctrl: amd: Drop CONFIG_ACPI ifdef
From: Mario Limonciello
Date: Thu Nov 05 2026 - 13:06:49 EST
commit e7280ab196ba4 ("ACPI: bus: Use acpi/acpi_bus.h without
CONFIG_ACPI") added a stub that means that we don't need a #ifdef
anymore for the _AEI check
Signed-off-by: Mario Limonciello <superm1@xxxxxxxxxx>
---
drivers/pinctrl/pinctrl-amd.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c
index 9fa752f552d43..efe8859fcd5a9 100644
--- a/drivers/pinctrl/pinctrl-amd.c
+++ b/drivers/pinctrl/pinctrl-amd.c
@@ -955,14 +955,12 @@ static void amd_gpio_irq_init(struct amd_gpio *gpio_dev)
mask = BIT(WAKE_CNTRL_OFF_S0I3) | BIT(WAKE_CNTRL_OFF_S3);
-#ifdef CONFIG_ACPI
/*
* Platforms without _AEI leave GPIO wake sources to firmware, so
* preserve their S4 wake bits.
*/
if (acpi_has_method(ACPI_HANDLE(&gpio_dev->pdev->dev), "_AEI"))
mask |= BIT(WAKE_CNTRL_OFF_S4);
-#endif
for (i = 0; i < desc->npins; i++) {
int pin = desc->pins[i].number;
---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261101-superm1-pinctrl-acpi-faeed4581e60
Best regards,
--
Mario Limonciello <superm1@xxxxxxxxxx>