]> www.infradead.org Git - users/jedix/linux-maple.git/commit
backlight: Remove notifier
authorDr. David Alan Gilbert <linux@treblig.org>
Thu, 19 Sep 2024 23:27:58 +0000 (00:27 +0100)
committerLee Jones <lee@kernel.org>
Wed, 9 Oct 2024 14:42:48 +0000 (15:42 +0100)
commit5461f3fd74a89757f95f351eb0bc26aafc2a2e91
treea2c8db080ced0a32f3bb9c84098ee12d67383c1c
parent1a2dc9bf3b15d8d6683adeb29dc680decd19d5ae
backlight: Remove notifier

backlight_register_notifier and backlight_unregister_notifier have
been unused since commit 6cb634d0dc85 ("ACPI: video: Remove code to
unregister acpi_video backlight when a native backlight registers")

With those not being called, it means that the backlight_notifier
list is always empty.

Remove the functions, the list itself and the enum used in the
notifications.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Reviewed-by: Simona Vetter <simona.vetter@ffwll.ch>
Link: https://lore.kernel.org/r/20240919232758.639925-1-linux@treblig.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/video/backlight/backlight.c
include/linux/backlight.h