From c6e71f813f7208d80bfe0f435d627fad1b204558 Mon Sep 17 00:00:00 2001 From: Soren Brinkmann Date: Sat, 31 Jan 2015 19:15:00 -0800 Subject: [PATCH] leds: leds-gpio: Pass on error codes unmodified MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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-format-patch failed