[PATCH v2 1/7] backlight: gpio: Simplify with dev_err_probe()

Daniel Thompson daniel.thompson at linaro.org
Tue Mar 5 09:05:36 UTC 2024


On Tue, Mar 05, 2024 at 09:11:56AM +0100, Krzysztof Kozlowski wrote:
> Common pattern of handling deferred probe can be simplified with
> dev_err_probe().  Less code and also it prints the error value.
>
> 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