]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86: asus-wmi: Use backlight power constants
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 31 Jul 2024 12:50:54 +0000 (14:50 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 12 Aug 2024 14:27:06 +0000 (16:27 +0200)
commita406bb7e086aa21164da72ab90f09e3167ded800
treea3232877c3cce7abaeb57ac4e904c3f2e74f2c17
parenta04c5547a69d218d265e4a95faaf03a84493be96
platform/x86: asus-wmi: Use backlight power constants

Replace FB_BLANK_ constants with their counterparts from the
backlight subsystem. The values are identical, so there's no
change in functionality or semantics.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Corentin Chary <corentin.chary@gmail.com>
Cc: "Luke D. Jones" <luke@ljones.dev>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240731125220.1147348-5-tzimmermann@suse.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/asus-wmi.c