backlight: ignore error if the backlight device is already removed
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 5 Jan 2022 09:26:46 +0000 (18:26 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 11 Jan 2022 19:07:11 +0000 (20:07 +0100)
commita69c240157e2ca066130c12bb061e0065f2c2425
treeb74ebd657f4f18254fe23050924cf24146a26739
parent243ea5dd2463a85244d7b957a272a7205e6497ed
backlight: ignore error if the backlight device is already removed

Fixes #21997.

(cherry picked from commit f0f65087834198d4dabf8b389ddc34223400aab7)
(cherry picked from commit b4c57e1b1c249f28f13a86637d8854c920bcf26d)
src/backlight/backlight.c