diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2012-09-07 03:31:49 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-09-21 13:42:26 -0400 |
commit | a509d228b690b2850fa70bef8de042d42ffe5acd (patch) | |
tree | 13d8350e8341849c0cdf3f5a0abf629d3ff79fe0 /drivers/platform | |
parent | 01d1775301f950ea463e2184b67b6bc9b68f5bae (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.c | 14 |
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 | 173 | module_acpi_driver(xo15_ebook_driver); | |
174 | static int __init xo15_ebook_init(void) | ||
175 | { | ||
176 | return acpi_bus_register_driver(&xo15_ebook_driver); | ||
177 | } | ||
178 | |||
179 | static void __exit xo15_ebook_exit(void) | ||
180 | { | ||
181 | acpi_bus_unregister_driver(&xo15_ebook_driver); | ||
182 | } | ||
183 | |||
184 | module_init(xo15_ebook_init); | ||
185 | module_exit(xo15_ebook_exit); | ||