From: Johan Hovold Date: Mon, 23 Sep 2013 14:27:26 +0000 (+0200) Subject: driver core: prevent deferred probe with platform_driver_probe X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~64^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f9120b0424f3e03c75518cb751f9e2bfa73c32a;p=pandora-kernel.git driver core: prevent deferred probe with platform_driver_probe Prevent drivers relying on platform_driver_probe from requesting deferred probing in order to avoid further futile probe attempts (either the driver has been unregistered or its probe function has been set to platform_drv_probe_fail when probing is retried). Note that several platform drivers currently return subsystem errors from probe and that these can include -EPROBE_DEFER (e.g. if a gpio request fails). Add a warning to platform_drv_probe that can be used to catch drivers that inadvertently request probe deferral while using platform_driver_probe. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed