Message ID | 20201102123911.58337-1-andriy.shevchenko@linux.intel.com |
---|---|
State | Accepted |
Commit | 0ddebf8580fa32b1827dcc5230a6db6260096f5e |
Headers | show |
Series | [v1] pinctrl: lynxpoint: Unify initcall location in the code | expand |
On Mon, Nov 02, 2020 at 02:39:11PM +0200, Andy Shevchenko wrote: > 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>
On Mon, Nov 02, 2020 at 06:31:20PM +0200, Mika Westerberg wrote: > On Mon, Nov 02, 2020 at 02:39:11PM +0200, Andy Shevchenko wrote: > > 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> Pushed to my review and testing queue, thanks! -- With Best Regards, Andy Shevchenko
diff --git a/drivers/pinctrl/intel/pinctrl-lynxpoint.c b/drivers/pinctrl/intel/pinctrl-lynxpoint.c index 96589d01fe35..849979d5d646 100644 --- a/drivers/pinctrl/intel/pinctrl-lynxpoint.c +++ b/drivers/pinctrl/intel/pinctrl-lynxpoint.c @@ -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)");
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> --- drivers/pinctrl/intel/pinctrl-lynxpoint.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)