Re: [PATCH 1/3] ACPI: add module autoloading support for ACPI enumerated devices

2013-10-20 Thread Aaron Lu
On 10/14/2013 05:10 PM, Zhang Rui wrote: > An ACPI enumerated device may have its compatible id strings. > > To support the compatible ACPI ids (acpi_device->pnp.ids), > we introduced acpi_driver_match_device() to match > the driver->acpi_match_table and acpi_device->pnp.ids. > > For those driver

Re: [PATCH 1/3] ACPI: add module autoloading support for ACPI enumerated devices

2013-10-14 Thread Jarkko Nikula
Hi On 10/14/2013 02:16 PM, Zhang Rui wrote: On Mon, 2013-10-14 at 13:14 +0300, Mika Westerberg wrote: For the three patches. I wonder if we should do the same for SPI bus as well? yes, you are right. Actually, I should check for buses that supports acpi_driver_match_device() and fix them all

Re: [PATCH 1/3] ACPI: add module autoloading support for ACPI enumerated devices

2013-10-14 Thread Zhang Rui
On Mon, 2013-10-14 at 13:14 +0300, Mika Westerberg wrote: > On Mon, Oct 14, 2013 at 05:10:32PM +0800, Zhang Rui wrote: > > An ACPI enumerated device may have its compatible id strings. > > > > To support the compatible ACPI ids (acpi_device->pnp.ids), > > we introduced acpi_driver_match_device() t

Re: [PATCH 1/3] ACPI: add module autoloading support for ACPI enumerated devices

2013-10-14 Thread Mika Westerberg
On Mon, Oct 14, 2013 at 05:10:32PM +0800, Zhang Rui wrote: > An ACPI enumerated device may have its compatible id strings. > > To support the compatible ACPI ids (acpi_device->pnp.ids), > we introduced acpi_driver_match_device() to match > the driver->acpi_match_table and acpi_device->pnp.ids. >

[PATCH 1/3] ACPI: add module autoloading support for ACPI enumerated devices

2013-10-14 Thread Zhang Rui
An ACPI enumerated device may have its compatible id strings. To support the compatible ACPI ids (acpi_device->pnp.ids), we introduced acpi_driver_match_device() to match the driver->acpi_match_table and acpi_device->pnp.ids. For those drivers, MODULE_DEVICE_TABLE(acpi, xxx) is used to exports th