summaryrefslogtreecommitdiff
path: root/include/linux/genhd.h
diff options
context:
space:
mode:
authorSoren Brinkmann <soren.brinkmann@xilinx.com>2015-01-31 19:15:00 -0800
committerBryan Wu <cooloney@gmail.com>2015-02-02 14:36:10 -0800
commitc6e71f813f7208d80bfe0f435d627fad1b204558 (patch)
tree8bacdd85fe59ad538cdd8058e470462acf35b67d /include/linux/genhd.h
parent4552d2ee3ccb50e2926c53f58c3d7c4c3df9568c (diff)
downloadlwn-c6e71f813f7208d80bfe0f435d627fad1b204558.tar.gz
lwn-c6e71f813f7208d80bfe0f435d627fad1b204558.zip
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>
Diffstat (limited to 'include/linux/genhd.h')
0 files changed, 0 insertions, 0 deletions