[PATCH 0/4] platform/x86: Use backlight helpers

Stephen Kitt posted 4 patches 3 years, 10 months ago
drivers/platform/x86/acer-wmi.c      | 7 +------
drivers/platform/x86/apple-gmux.c    | 5 +----
drivers/platform/x86/compal-laptop.c | 4 +---
drivers/platform/x86/thinkpad_acpi.c | 5 +----
4 files changed, 4 insertions(+), 17 deletions(-)
[PATCH 0/4] platform/x86: Use backlight helpers
Posted by Stephen Kitt 3 years, 10 months ago
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.

This will ultimately allow fb_blank to be removed.

Stephen Kitt (4):
  platform/x86: acer-wmi: Use backlight helper
  platform/x86: apple-gmux: Use backlight helper
  platform/x86: compal-laptop: Use backlight helper
  platform/x86: thinkpad_acpi: Use backlight helper

 drivers/platform/x86/acer-wmi.c      | 7 +------
 drivers/platform/x86/apple-gmux.c    | 5 +----
 drivers/platform/x86/compal-laptop.c | 4 +---
 drivers/platform/x86/thinkpad_acpi.c | 5 +----
 4 files changed, 4 insertions(+), 17 deletions(-)


base-commit: f2906aa863381afb0015a9eb7fefad885d4e5a56
-- 
2.30.2
Re: [PATCH 0/4] platform/x86: Use backlight helpers
Posted by Hans de Goede 3 years, 10 months ago
Hi,

On 6/7/22 20:46, 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.
> 
> This will ultimately allow fb_blank to be removed.
> 
> Stephen Kitt (4):
>   platform/x86: acer-wmi: Use backlight helper
>   platform/x86: apple-gmux: Use backlight helper
>   platform/x86: compal-laptop: Use backlight helper
>   platform/x86: thinkpad_acpi: Use backlight helper
> 
>  drivers/platform/x86/acer-wmi.c      | 7 +------
>  drivers/platform/x86/apple-gmux.c    | 5 +----
>  drivers/platform/x86/compal-laptop.c | 4 +---
>  drivers/platform/x86/thinkpad_acpi.c | 5 +----
>  4 files changed, 4 insertions(+), 17 deletions(-)

Thank you for your patch-series, I've applied the series to my
review-hans branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Note it will show up in my review-hans branch once I've pushed my
local branch there, which might take a while.

Once I've run some tests on this branch the patches there will be
added to the platform-drivers-x86/for-next branch and eventually
will be included in the pdx86 pull-request to Linus for the next
merge-window.

Regards,

Hans