Re: [RFC PATCH 1/5] ACPI: Add acpi_lookup_driver() function

2012-09-06 Thread Toshi Kani
(snip) : > > > + > > > + /* set HID to this device object */ > > > + acpi_device_set_id(device); > > > + > > > + /* lookup a matching driver */ > > > + (void) bus_for_each_drv(device->dev.bus, NULL, > > > + device, acpi_match_driver); >

Re: [RFC PATCH 1/5] ACPI: Add acpi_lookup_driver() function

2012-08-31 Thread Toshi Kani
On Thu, 2012-08-30 at 22:42 -0700, Bjorn Helgaas wrote: > On Thu, Aug 30, 2012 at 1:16 PM, Toshi Kani wrote: > > Added acpi_lookup_driver(), which looks up an associated driver > > for the notified ACPI device object by walking through the list > > of ACPI drivers. > > > > Signed-off-by: Toshi Kan

Re: [RFC PATCH 1/5] ACPI: Add acpi_lookup_driver() function

2012-08-30 Thread Bjorn Helgaas
On Thu, Aug 30, 2012 at 1:16 PM, Toshi Kani wrote: > Added acpi_lookup_driver(), which looks up an associated driver > for the notified ACPI device object by walking through the list > of ACPI drivers. > > Signed-off-by: Toshi Kani > --- > drivers/acpi/scan.c | 65 > ++

[RFC PATCH 1/5] ACPI: Add acpi_lookup_driver() function

2012-08-30 Thread Toshi Kani
Added acpi_lookup_driver(), which looks up an associated driver for the notified ACPI device object by walking through the list of ACPI drivers. Signed-off-by: Toshi Kani --- drivers/acpi/scan.c | 65 +++ include/acpi/acpi_bus.h |2 + 2 files