backlight: aat2870-backlight: Remove struct backlight.check_fb
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 5 Mar 2024 16:22:38 +0000 (17:22 +0100)
committerLee Jones <lee@kernel.org>
Thu, 28 Mar 2024 10:09:01 +0000 (10:09 +0000)
commit0133952aaca26f91f8c667b1c2f0c2f68d9db242
treec1ef0950fda1d9ba5b7a2e68877ccafb556db45d
parentc34b107770ed6643ea999d7be3566f54ec065239
backlight: aat2870-backlight: Remove struct backlight.check_fb

The driver's implementation of check_fb always returns true, which
is the default if no implementation has been set. So remove the code
from the driver.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20240305162425.23845-6-tzimmermann@suse.de
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/video/backlight/aat2870_bl.c