fbdev: ssd1307fb: Remove struct backlight_ops.check_fb
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 5 Mar 2024 16:22:42 +0000 (17:22 +0100)
committerLee Jones <lee@kernel.org>
Thu, 28 Mar 2024 10:09:05 +0000 (10:09 +0000)
commit7929446702295f7e336c13b39302589070f11560
tree9753c6e8056406aaa5499a6cf4137469121c56a5
parent56a6f83f764a983c12f059847d82fd7b64bacd2a
fbdev: ssd1307fb: Remove struct backlight_ops.check_fb

The driver sets struct fb_info.bl_dev to the correct backlight
device. Thus rely on the backlight core code to match backlight
and framebuffer devices, and remove the extra check_fb function
from struct backlight_ops.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20240305162425.23845-10-tzimmermann@suse.de
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/video/fbdev/ssd1307fb.c