[PATCH V6 01/11] ACPI: introduce .match() callback for ACPI scan handler

2014-05-15 Thread Zhang Rui
Currently, ACPI scan handler uses strcmp() to match device ids and scan handler ids. When converting PNPACPI enumeration into a scan handler, which I will do later in this patch set, the current code becomes not flexible enough because ACPI pnp scan handler requires wildcase and case insensitive

[PATCH V6 01/11] ACPI: introduce .match() callback for ACPI scan handler

2014-05-15 Thread Zhang Rui
Currently, ACPI scan handler uses strcmp() to match device ids and scan handler ids. When converting PNPACPI enumeration into a scan handler, which I will do later in this patch set, the current code becomes not flexible enough because ACPI pnp scan handler requires wildcase and case insensitive