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

Arnd Bergmann arnd at arndb.de
Wed Mar 20 06:20:14 EDT 2013


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
unregisters the driver again, so we never get there.

	Arnd



More information about the linux-arm-kernel mailing list