Commit e1d2c4cf authored by Zhang Rui's avatar Zhang Rui Committed by Rafael J. Wysocki

ACPI / scan: drop IDs that do not comply with the ACPI PNP ID rule

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: default avatarZhang Rui <rui.zhang@intel.com>
[rjw: Subject and changelog]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
parent eec15edb
...@@ -34,10 +34,6 @@ static const struct acpi_device_id acpi_pnp_device_ids[] = { ...@@ -34,10 +34,6 @@ static const struct acpi_device_id acpi_pnp_device_ids[] = {
/* ide */ /* ide */
{"PNP0600"}, /* Generic ESDI/IDE/ATA compatible hard disk controller */ {"PNP0600"}, /* Generic ESDI/IDE/ATA compatible hard disk controller */
/* ns558 */ /* ns558 */
{"@P@0001"}, /* ALS 100 */
{"@P@0020"}, /* ALS 200 */
{"@P@1001"}, /* ALS 100+ */
{"@P@2001"}, /* ALS 120 */
{"ASB16fd"}, /* AdLib NSC16 */ {"ASB16fd"}, /* AdLib NSC16 */
{"AZT3001"}, /* AZT1008 */ {"AZT3001"}, /* AZT1008 */
{"CDC0001"}, /* Opl3-SAx */ {"CDC0001"}, /* Opl3-SAx */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment