aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86')
-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);