Re: [PATCH 10/10] backlight: Add controls_device callback to struct backlight_ops
From: Daniel Thompson <hidden>
Date: 2024-02-15 12:09:24
Also in:
dri-devel, linux-input, linux-pwm
From: Daniel Thompson <hidden>
Date: 2024-02-15 12:09:24
Also in:
dri-devel, linux-input, linux-pwm
On Mon, Feb 12, 2024 at 05:16:43PM +0100, Thomas Zimmermann wrote:
Replace check_fb with controls_device in struct backlight_ops. The new callback interface takes a Linux device instead of a framebuffer. Resolves one of the dependencies of backlight.h on fb.h. The few drivers that had custom implementations of check_fb can easily use the framebuffer's Linux device instead. Update them accordingly. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Thompson <redacted> Daniel.