From: Soren Brinkmann Date: Sun, 1 Feb 2015 03:15:00 +0000 (-0800) Subject: leds: leds-gpio: Pass on error codes unmodified X-Git-Tag: fixes-v4.0-rc1~109^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6e71f813f7208d80bfe0f435d627fad1b204558;p=pandora-kernel.git leds: leds-gpio: Pass on error codes unmodified Instead of overriding error codes, pass them on unmodified. This way a EPROBE_DEFER is correctly passed to the driver core. This results in the LED driver correctly requesting probe deferral in cases the GPIO controller is not yet available. Signed-off-by: Soren Brinkmann Reported-and-tested-by: Andreas Färber Signed-off-by: Bryan Wu --- Reading git-diff-tree failed