Commit 0ddebf85 authored by Andy Shevchenko's avatar Andy Shevchenko

pinctrl: lynxpoint: Unify initcall location in the code

Like in the other Intel pin control drivers, attach initcalls
to the corresponding functions. No functional change intended.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
parent e789e61f
...@@ -967,13 +967,12 @@ static int __init lp_gpio_init(void) ...@@ -967,13 +967,12 @@ static int __init lp_gpio_init(void)
{ {
return platform_driver_register(&lp_gpio_driver); return platform_driver_register(&lp_gpio_driver);
} }
subsys_initcall(lp_gpio_init);
static void __exit lp_gpio_exit(void) static void __exit lp_gpio_exit(void)
{ {
platform_driver_unregister(&lp_gpio_driver); platform_driver_unregister(&lp_gpio_driver);
} }
subsys_initcall(lp_gpio_init);
module_exit(lp_gpio_exit); module_exit(lp_gpio_exit);
MODULE_AUTHOR("Mathias Nyman (Intel)"); MODULE_AUTHOR("Mathias Nyman (Intel)");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment