Re: [PATCH 6/7] backlight: lm3630a_bl: Simplify probe return on gpio request error
From: Daniel Thompson
Date: Mon Mar 04 2024 - 05:47:07 EST
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@xxxxxxxxxx>
Reviewed-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx>
Daniel.