auxdisplay: ht16k33: Remove struct backlight_ops.check_fb
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 5 Mar 2024 16:22:35 +0000 (17:22 +0100)
committerLee Jones <lee@kernel.org>
Thu, 28 Mar 2024 10:08:54 +0000 (10:08 +0000)
commit330682161d8702880ec72e9f4ea982deba9935dc
treec1f0cc31fe4ca47bedd8e64cc149aa425a856526
parente6c6fea5c314d90dbfca4983f2ea46388aab3bb0
auxdisplay: ht16k33: 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.

v3:
* use 'check_fb()' in commit message (Andy)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Robin van der Gracht <robin@protonic.nl>
Acked-by: Robin van der Gracht <robin@protonic.nl>
Acked-by: Andy Shevchenko <andy@kernel.org>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20240305162425.23845-3-tzimmermann@suse.de
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/auxdisplay/ht16k33.c