Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a509d228 authored by Mika Westerberg's avatar Mika Westerberg Committed by Len Brown
Browse files

xo15-ebook: convert to module_acpi_driver()

parent 01d17753
Loading
Loading
Loading
Loading
+1 −13
Original line number Diff line number Diff line
@@ -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);