Skip to content

Commit

Permalink
xo15-ebook: convert to module_acpi_driver()
Browse files Browse the repository at this point in the history
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Mika Westerberg authored and Len Brown committed Sep 21, 2012
1 parent 01d1775 commit a509d22
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions drivers/platform/x86/xo15-ebook.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,16 +170,4 @@ static struct acpi_driver xo15_ebook_driver = {
},
.drv.pm = &ebook_switch_pm,
};

static int __init xo15_ebook_init(void)
{
return acpi_bus_register_driver(&xo15_ebook_driver);
}

static void __exit xo15_ebook_exit(void)
{
acpi_bus_unregister_driver(&xo15_ebook_driver);
}

module_init(xo15_ebook_init);
module_exit(xo15_ebook_exit);
module_acpi_driver(xo15_ebook_driver);

0 comments on commit a509d22

Please sign in to comment.