]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: introduce module_acpi_driver() helper macro
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 7 Sep 2012 07:31:38 +0000 (10:31 +0300)
committerLen Brown <len.brown@intel.com>
Fri, 21 Sep 2012 17:38:12 +0000 (13:38 -0400)
commit972a26087cc16786897f5001612f501152510bf4
tree19e6d891bcbe3e42790d4b2df51c8fcd81aab708
parent4c28e287351c62e84038ab9ed39efef836ee9d2c
ACPI: introduce module_acpi_driver() helper macro

Add a helper macro module_acpi_driver() which reduces the boilerplate code
for ACPI drivers. This is similar what is done for other busses (PCI, SPI,
I2C etc).

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
include/acpi/acpi_bus.h