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: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
This commit is contained in:
parent
e789e61f9e
commit
0ddebf8580
|
@ -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)");
|
||||||
|
|
Loading…
Reference in New Issue