]> www.infradead.org Git - users/jedix/linux-maple.git/commit
backlight: lcd: Replace check_fb with controls_device
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 6 Sep 2024 07:52:40 +0000 (09:52 +0200)
committerLee Jones <lee@kernel.org>
Mon, 30 Sep 2024 15:49:42 +0000 (16:49 +0100)
commit43e1120deb3768c86aa3875c7073658e44a30ea5
tree373c25da27885f678e3a76a1b65a2d52fd039a38
parent05deb1ce96cda46a1ddc82f82a4645ef14cbe680
backlight: lcd: Replace check_fb with controls_device

Rename check_fb in struct lcd_ops to controls_device. The callback
is now independent from fbdev's struct fb_info and tests if an lcd
device controls a hardware display device. The new naming and semantics
follow similar functionality for backlight devices.

v2:
- fix typos in commit description (Daniel)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20240906075439.98476-27-tzimmermann@suse.de
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/video/backlight/lcd.c
drivers/video/backlight/platform_lcd.c
include/linux/lcd.h