diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-03-05 09:11:56 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-03-07 10:03:29 +0100 |
commit | 23749cf3dfff5dcd706183ade1d27198a37b3881 (patch) | |
tree | 93631e8f83318a3008e2ff601ffb7299d9c1517c /samples | |
parent | backlight: lp8788: Fully initialize backlight_properties during probe (diff) | |
download | linux-23749cf3dfff5dcd706183ade1d27198a37b3881.tar.xz linux-23749cf3dfff5dcd706183ade1d27198a37b3881.zip |
backlight: gpio: Simplify with dev_err_probe()
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@linaro.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20240305-backlight-probe-v2-1-609b0cf24bde@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions