[PATCH 00/10] platform: x86: Use backlight power constants

From: Thomas Zimmermann
Date: Wed Jul 31 2024 - 08:56:51 EST


Commit a1cacb8a8e70 ("backlight: Add BACKLIGHT_POWER_ constants for
power states") introduced dedicated constants for backlight power states.
Convert X86 platform drivers to the new constants.

The new constants replace the fbdev constants. This is part of a larger
effort to make kernel subsystems more independent from fbdev code and
headers.

Thomas Zimmermann (10):
platform/x86: acer-wmi: Use backlight power constants
platform/x86: asus-laptop: Use backlight power constants
platform/x86: asus-nb-wmi: Use backlight power constants
platform/x86: asus-wmi: Use backlight power constants
platform/x86: eeepc-laptop: Use backlight power constants
platform/x86: eeepc-wmi: Use backlight power constants
platform/x86: fujitsu-laptop: Use backlight power constants
platform/x86: ideapad-laptop: Use backlight power constants
platform/x86: oaktrail: Use backlight power constants
platform/x86: samsung-laptop: Use backlight power constants

drivers/platform/x86/acer-wmi.c | 3 +--
drivers/platform/x86/asus-laptop.c | 3 +--
drivers/platform/x86/asus-nb-wmi.c | 4 ++--
drivers/platform/x86/asus-wmi.c | 17 ++++++++---------
drivers/platform/x86/eeepc-laptop.c | 3 +--
drivers/platform/x86/eeepc-wmi.c | 4 ++--
drivers/platform/x86/fujitsu-laptop.c | 9 ++++-----
drivers/platform/x86/ideapad-laptop.c | 7 +++----
drivers/platform/x86/intel/oaktrail.c | 3 +--
drivers/platform/x86/samsung-laptop.c | 5 ++---
10 files changed, 25 insertions(+), 33 deletions(-)

--
2.45.2