]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite7b68f1633b59f8c9be31396a76a3ed198a403f7
treeb5a355154b37693fa3cc033c29a229cb76c624a3
parentaa170652c4c341fae4b30b1a9f351fc551969ad6
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: 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