[PATCH RFC 1/2] driver core: allow EPROBE_DEFER after boot

2017-02-06 Thread Tadeusz Struk
Currently EPROBE_DEFER error code is only honored by the core during boot time, where the deferred probes are triggered by the late_initcall. After boot, if a driver returns EPROBE_DEFER for whatever reason, during manual insmod, it is not handled, as there is nothing to trigger the

[PATCH RFC 1/2] driver core: allow EPROBE_DEFER after boot

2017-02-06 Thread Tadeusz Struk
Currently EPROBE_DEFER error code is only honored by the core during boot time, where the deferred probes are triggered by the late_initcall. After boot, if a driver returns EPROBE_DEFER for whatever reason, during manual insmod, it is not handled, as there is nothing to trigger the