]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ACPI: PNP: Drop acpi_nonpnp_device_ids[]
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 15 Dec 2025 13:36:49 +0000 (14:36 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 16 Dec 2025 20:51:04 +0000 (21:51 +0100)
Now that "system" devices are represented as platform devices, they
are not claimed by the PNP ACPI scan handler any more and platform
devices can be created for ACPI device objects listing "system"
device IDs as their compatible device IDs.

Accordingly, it should not be necessary any more to add device IDs
to acpi_nonpnp_device_ids[], so drop it.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Link: https://patch.msgid.link/3587570.QJadu78ljV@rafael.j.wysocki
drivers/acpi/acpi_pnp.c

index 17b2219a361e7a4d1cbf43ce42bf91e59dfd4551..85d9f78619a2191bce117f319cbba2cd62866bd6 100644 (file)
@@ -343,24 +343,10 @@ static bool acpi_pnp_match(const char *idstr, const struct acpi_device_id **matc
        return false;
 }
 
-/*
- * If one of the device IDs below is present in the list of device IDs of a
- * given ACPI device object, the PNP scan handler will not attach to that
- * object, because there is a proper non-PNP driver in the kernel for the
- * device represented by it.
- */
-static const struct acpi_device_id acpi_nonpnp_device_ids[] = {
-       {"INT3F0D"},
-       {"INTC1080"},
-       {"INTC1081"},
-       {"INTC1099"},
-       {""},
-};
-
 static int acpi_pnp_attach(struct acpi_device *adev,
                           const struct acpi_device_id *id)
 {
-       return !!acpi_match_device_ids(adev, acpi_nonpnp_device_ids);
+       return true;
 }
 
 static struct acpi_scan_handler acpi_pnp_handler = {