Re: [PATCH 10/10] backlight: Add controls_device callback to struct backlight_ops

2024-02-20 Thread Javier Martinez Canillas
Thomas Zimmermann writes: > 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 eas

Re: [PATCH 10/10] backlight: Add controls_device callback to struct backlight_ops

2024-02-15 Thread Daniel Thompson
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 cus

[PATCH 10/10] backlight: Add controls_device callback to struct backlight_ops

2024-02-12 Thread Thomas Zimmermann
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 devic