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>
Fri, 7 Jan 2022 14:52:33 +0000 (15:52 +0100)
commitb4c57e1b1c249f28f13a86637d8854c920bcf26d
treecb322e0be80caa073ee55d08bf7da7139856118d
parent80f1b9ab545ec295836b3543e97323ca6048383f
backlight: ignore error if the backlight device is already removed

Fixes #21997.

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