ACPI / scan: drop IDs that do not comply with the ACPI PNP ID rule
authorZhang Rui <rui.zhang@intel.com>
Fri, 30 May 2014 02:24:04 +0000 (04:24 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 30 May 2014 14:04:36 +0000 (16:04 +0200)
The PNP ACPI scan handler device ID list includes all the IDs from
all of the struct pnp_device_id instances in the tree, but some of
them do not follow the ACPI PNP ID rule (3 letters + 4 hex digits).

For those IDs, the coressponding devices will never be enumerated
via ACPI, so it is safe to remove them from the PNP ACPI ID list.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
[rjw: Subject and changelog]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/acpi/acpi_pnp.c

index 567e7fc6330c6d7fb52aed4a12de4dec1d8f0a33..895c45d8d25abdce618c95445cbe18f41b17a1ff 100644 (file)
@@ -34,10 +34,6 @@ static const struct acpi_device_id acpi_pnp_device_ids[] = {
        /* ide   */
        {"PNP0600"},            /* Generic ESDI/IDE/ATA compatible hard disk controller */
        /* ns558 */
-       {"@P@0001"},            /* ALS 100 */
-       {"@P@0020"},            /* ALS 200 */
-       {"@P@1001"},            /* ALS 100+ */
-       {"@P@2001"},            /* ALS 120 */
        {"ASB16fd"},            /* AdLib NSC16 */
        {"AZT3001"},            /* AZT1008 */
        {"CDC0001"},            /* Opl3-SAx */