summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-03-05 09:11:56 +0100
committerLee Jones <lee@kernel.org>2024-03-07 10:03:29 +0100
commit23749cf3dfff5dcd706183ade1d27198a37b3881 (patch)
tree93631e8f83318a3008e2ff601ffb7299d9c1517c /samples
parentbacklight: lp8788: Fully initialize backlight_properties during probe (diff)
downloadlinux-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