Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
leds: lm3692x: Don't overwrite return value in error path
The driver currently reports successful initialization on every failure as long as it's able to power off the regulator. Don't check the return value of regulator_disable to avoid that. Signed-off-by: Guido Günther <[email protected]> Acked-by: Pavel Machek <[email protected]> Reviewed-by: Dan Murphy <[email protected]> Signed-off-by: Pavel Machek <[email protected]>
- Loading branch information