mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
staging: olpc_dcon: 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: Jens Frederich <jfrederich@gmail.com> Cc: Jon Nettleton <jon.nettleton@gmail.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20240731130130.1148153-3-tzimmermann@suse.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0929391a82
commit
6d2c95ab49
@ -544,7 +544,7 @@ static const struct backlight_ops dcon_bl_ops = {
|
||||
static struct backlight_properties dcon_bl_props = {
|
||||
.max_brightness = 15,
|
||||
.type = BACKLIGHT_RAW,
|
||||
.power = FB_BLANK_UNBLANK,
|
||||
.power = BACKLIGHT_POWER_ON,
|
||||
};
|
||||
|
||||
static int dcon_reboot_notify(struct notifier_block *nb,
|
||||
|
Loading…
Reference in New Issue
Block a user