[PATCH 10/10] drivers: misc: use module_platform_driver_probe()
Fabio Porcedda
fabio.porcedda at gmail.com
Wed Mar 20 06:39:38 EDT 2013
On Wed, Mar 20, 2013 at 11:20 AM, Arnd Bergmann <arnd at arndb.de> wrote:
> On Wednesday 20 March 2013, Fabio Porcedda wrote:
>> I think we can check inside the deferred_probe_work_func()
>> if the dev->probe function pointer is equal to platform_drv_probe_fail().
>
> I think it's too late by then, because that would only warn if we try to probe
> it again, but when platform_driver_probe() does not succeed immediately, it
Maybe you mean "does succeed immediately" ?
> unregisters the driver again, so we never get there.
--
Fabio Porcedda
More information about the linux-arm-kernel
mailing list