Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c6e71f81 authored by Soren Brinkmann's avatar Soren Brinkmann Committed by Bryan Wu
Browse files

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: default avatarSoren Brinkmann <soren.brinkmann@xilinx.com>
Reported-and-tested-by: default avatarAndreas Färber <afaerber@suse.de>
Signed-off-by: default avatarBryan Wu <cooloney@gmail.com>
parent 4552d2ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment