ACPI: introduce module_acpi_driver() helper macro
commit0d2cf8f5aab358c897902ebad40fa4edd1b4556e
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 7 Sep 2012 07:31:38 +0000 (7 10:31 +0300)
committerLen Brown <len.brown@intel.com>
Fri, 21 Sep 2012 17:38:12 +0000 (21 13:38 -0400)
tree19e6d891bcbe3e42790d4b2df51c8fcd81aab708
parentc46de2263f42fb4bbde411b9126f471e9343cb22
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