Skip to content
Commit c9128ed7 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Lee Jones
Browse files

backlight: lm3630a_bl: Simplify probe return on gpio request error



Code can be simpler: return directly when devm_gpiod_get_optional()
failed.

Reviewed-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240305-backlight-probe-v2-6-609b0cf24bde@linaro.org


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent b4c385b2
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