aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2012-09-07 03:31:49 -0400
committerLen Brown <len.brown@intel.com>2012-09-21 13:42:26 -0400
commita509d228b690b2850fa70bef8de042d42ffe5acd (patch)
tree13d8350e8341849c0cdf3f5a0abf629d3ff79fe0 /drivers/platform
parent01d1775301f950ea463e2184b67b6bc9b68f5bae (diff)
xo15-ebook: convert to module_acpi_driver()
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/xo15-ebook.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/platform/x86/xo15-ebook.c b/drivers/platform/x86/xo15-ebook.c
index 38ba39d7ca7d..16d340c3b852 100644
--- a/drivers/platform/x86/xo15-ebook.c
+++ b/drivers/platform/x86/xo15-ebook.c
@@ -170,16 +170,4 @@ static struct acpi_driver xo15_ebook_driver = {
170 }, 170 },
171 .drv.pm = &ebook_switch_pm, 171 .drv.pm = &ebook_switch_pm,
172}; 172};
173 173module_acpi_driver(xo15_ebook_driver);
174static int __init xo15_ebook_init(void)
175{
176 return acpi_bus_register_driver(&xo15_ebook_driver);
177}
178
179static void __exit xo15_ebook_exit(void)
180{
181 acpi_bus_unregister_driver(&xo15_ebook_driver);
182}
183
184module_init(xo15_ebook_init);
185module_exit(xo15_ebook_exit);