Re: [PATCH v2] macintosh: via-pmu-backlight: Use backlight helper

2022-11-30 Thread Michael Ellerman
On Thu, 16 Jun 2022 19:04:24 +0200, Stephen Kitt wrote: > backlight_properties.fb_blank is deprecated. The states it represents > are handled by other properties; but instead of accessing those > properties directly, drivers should use the helpers provided by > backlight.h. > > Instead of retrievi

[PATCH v2] macintosh: via-pmu-backlight: Use backlight helper

2022-06-16 Thread Stephen Kitt
backlight_properties.fb_blank is deprecated. The states it represents are handled by other properties; but instead of accessing those properties directly, drivers should use the helpers provided by backlight.h. Instead of retrieving the backlight brightness in struct backlight_properties manually,