pinctrl: lynxpoint: Unify initcall location in the code
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 2 Nov 2020 12:39:11 +0000 (14:39 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 4 Nov 2020 10:33:19 +0000 (12:33 +0200)
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>
drivers/pinctrl/intel/pinctrl-lynxpoint.c

index 96589d01fe35e5d7c9cbda0b9b30d92ca2290b07..849979d5d6464701e6ff41dd9ceaa6e79f12e48d 100644 (file)
@@ -967,13 +967,12 @@ static int __init lp_gpio_init(void)
 {
        return platform_driver_register(&lp_gpio_driver);
 }
+subsys_initcall(lp_gpio_init);
 
 static void __exit lp_gpio_exit(void)
 {
        platform_driver_unregister(&lp_gpio_driver);
 }
-
-subsys_initcall(lp_gpio_init);
 module_exit(lp_gpio_exit);
 
 MODULE_AUTHOR("Mathias Nyman (Intel)");