Re: [PATCH RESEND 2/4] backlight: arcxcnn: Use backlight helper

2023-01-19 Thread Lee Jones
On Fri, 06 Jan 2023, Stephen Kitt wrote: > Instead of retrieving the backlight brightness in struct > backlight_properties manually, and then checking whether the backlight > should be on at all, use backlight_get_brightness() which does all > this and insulates this from future changes. > > Sign

Re: [PATCH RESEND 2/4] backlight: arcxcnn: Use backlight helper

2023-01-09 Thread Daniel Thompson
On Fri, Jan 06, 2023 at 05:48:53PM +0100, Stephen Kitt wrote: > Instead of retrieving the backlight brightness in struct > backlight_properties manually, and then checking whether the backlight > should be on at all, use backlight_get_brightness() which does all > this and insulates this from futur

Re: [PATCH RESEND 2/4] backlight: arcxcnn: Use backlight helper

2023-01-06 Thread Sam Ravnborg
On Fri, Jan 06, 2023 at 05:48:53PM +0100, Stephen Kitt wrote: > Instead of retrieving the backlight brightness in struct > backlight_properties manually, and then checking whether the backlight > should be on at all, use backlight_get_brightness() which does all > this and insulates this from futur

[PATCH RESEND 2/4] backlight: arcxcnn: Use backlight helper

2023-01-06 Thread Stephen Kitt
Instead of retrieving the backlight brightness in struct backlight_properties manually, and then checking whether the backlight should be on at all, use backlight_get_brightness() which does all this and insulates this from future changes. Signed-off-by: Stephen Kitt --- drivers/video/backlight/