Re: [PATCH 1/3 v2] Introduce a new acpi to determine HID match.

2012-10-12 Thread Yinghai Lu
On Fri, Oct 12, 2012 at 5:34 AM, Tang Chen wrote: > This introduce a new api to determine if a HID matches a list of IDs. > Different from acpi_match_device_ids(), the new api gets HID from > acpi_device_info struct. > > Signed-off-by: Tang Chen > --- > drivers/acpi/scan.c | 24

[PATCH 1/3 v2] Introduce a new acpi to determine HID match.

2012-10-12 Thread Tang Chen
This introduce a new api to determine if a HID matches a list of IDs. Different from acpi_match_device_ids(), the new api gets HID from acpi_device_info struct. Signed-off-by: Tang Chen --- drivers/acpi/scan.c | 24 include/acpi/acpi_bus.h |2 ++ 2 files

[PATCH 1/3 v2] Introduce a new acpi to determine HID match.

2012-10-12 Thread Tang Chen
This introduce a new api to determine if a HID matches a list of IDs. Different from acpi_match_device_ids(), the new api gets HID from acpi_device_info struct. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- drivers/acpi/scan.c | 24 include/acpi/acpi_bus.h |

Re: [PATCH 1/3 v2] Introduce a new acpi to determine HID match.

2012-10-12 Thread Yinghai Lu
On Fri, Oct 12, 2012 at 5:34 AM, Tang Chen tangc...@cn.fujitsu.com wrote: This introduce a new api to determine if a HID matches a list of IDs. Different from acpi_match_device_ids(), the new api gets HID from acpi_device_info struct. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com ---