[PATCH 6/7] backlight: lm3630a_bl: Simplify probe return on gpio request error

Daniel Thompson daniel.thompson at linaro.org
Mon Mar 4 10:46:56 UTC 2024


On Mon, Mar 04, 2024 at 11:11:43AM +0100, Krzysztof Kozlowski wrote:
> Code can be simpler: return directly when devm_gpiod_get_optional()
> failed.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>

Reviewed-by: Daniel Thompson <daniel.thompson at linaro.org>


Daniel.


More information about the dri-devel mailing list