backlight: bd6107: Handle deferred probe
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 5 Mar 2024 08:11:58 +0000 (09:11 +0100)
committerLee Jones <lee@kernel.org>
Thu, 7 Mar 2024 09:03:29 +0000 (09:03 +0000)
commita2cd3ab2a47d2a976fc32503a69b4a1046d6130b
tree373468ce00c0abef887570535f62b45628f607de
parent588d9f4b656f58aefe06745b24c891f3fc690446
backlight: bd6107: Handle deferred probe

Don't pollute dmesg on deferred probe and simplify the code with
dev_err_probe().

Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240305-backlight-probe-v2-3-609b0cf24bde@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/video/backlight/bd6107.c