mbox series

[0/2] arch: powerpc: Use backlight power constants

Message ID 20240731130720.1148872-1-tzimmermann@suse.de (mailing list archive)
Headers show
Series arch: powerpc: Use backlight power constants | expand

Message

Thomas Zimmermann July 31, 2024, 1:06 p.m. UTC
Commit a1cacb8a8e70 ("backlight: Add BACKLIGHT_POWER_ constants for
power states") introduced dedicated constants for backlight power states.
Convert PowerPC code 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 (2):
  arch: powerpc: Use backlight power constants
  macintosh/pmubl: Use backlight power constants

 arch/powerpc/kernel/traps.c           | 2 +-
 drivers/macintosh/via-pmu-backlight.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Michael Ellerman Aug. 12, 2024, 12:01 p.m. UTC | #1
On Wed, 31 Jul 2024 15:06:13 +0200, Thomas Zimmermann wrote:
> Commit a1cacb8a8e70 ("backlight: Add BACKLIGHT_POWER_ constants for
> power states") introduced dedicated constants for backlight power states.
> Convert PowerPC code 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.
> 
> [...]

Applied to powerpc/next.

[1/2] arch: powerpc: Use backlight power constants
      https://git.kernel.org/powerpc/c/28455894bb99a1afe541cb7c987cc7e193c41fc6
[2/2] macintosh/pmubl: Use backlight power constants
      https://git.kernel.org/powerpc/c/c7907a47bb68a18758edf12fd45e201ff03e2acc

cheers