Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reported-and-tested-by: Andreas Färber <[email protected]> Signed-off-by: Bryan Wu <[email protected]>
- Loading branch information