diff options
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2015-01-31 19:15:00 -0800 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-09-18 14:20:33 +0200 |
commit | 3772ffcf498ee917001c26256c306435afd00c04 (patch) | |
tree | e9e9415a94fb306e4cdb06eea913521ebf2db5bd /Documentation | |
parent | c1f01cb6463a384f50bde89673fcdaa1d5059c2a (diff) |
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 <soren.brinkmann@xilinx.com>
Reported-and-tested-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
(cherry picked from commit c6e71f813f7208d80bfe0f435d627fad1b204558)
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions