[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20161027191143.GA1630@x220.localdomain>
Date: Thu, 27 Oct 2016 21:11:43 +0200
From: Slawomir Stepien <sst@...zta.fm>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: ldewangan@...dia.com, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] Input: gpio-keys - use module_platform_driver macro
On Oct 27, 2016 09:48, Dmitry Torokhov wrote:
> Hi Slawomir,
Hi Dmitry,
> > -late_initcall(gpio_keys_init);
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Because of this we can't switch to module_platform_driver(). The
> late_initcall was requirement of one of platforms because of the probe
> ordering issues. It may be resolved now with deferred probing, but you'd
> need to confirm with all the users.
I was unaware of that. Let me look in to that more deeply. At the moment I do
not have the knowledge what will be to correct solution for that.
> > -module_exit(gpio_keys_exit);
> > +module_platform_driver(gpio_keys_device_driver);
> >
> > MODULE_LICENSE("GPL");
> > MODULE_AUTHOR("Phil Blundell <pb@...dhelds.org>");
>
> Thanks.
Thank you.
--
Slawomir Stepien
Powered by blists - more mailing lists