Skip to content
Commit 396128d2 authored by Guido Günther's avatar Guido Günther Committed by Pavel
Browse files

leds: lm3692x: Handle failure to probe the regulator



Instead use devm_regulator_get_optional since the regulator
is optional and check for errors.

Signed-off-by: default avatarGuido Günther <agx@sigxcpu.org>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Reviewed-by: default avatarDan Murphy <dmurphy@ti.com>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent d0f9cc49
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment