Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

From: Fabio Porcedda
Date: Wed Mar 20 2013 - 06:40:08 EST

On Wed, Mar 20, 2013 at 11:20 AM, Arnd Bergmann <arnd@xxxxxxxx> 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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at