Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Thomas Zimmermann and committed by
Greg Kroah-Hartman
6d2c95ab 0929391a

+1 -1
+1 -1
drivers/staging/olpc_dcon/olpc_dcon.c
··· 544 544 static struct backlight_properties dcon_bl_props = { 545 545 .max_brightness = 15, 546 546 .type = BACKLIGHT_RAW, 547 - .power = FB_BLANK_UNBLANK, 547 + .power = BACKLIGHT_POWER_ON, 548 548 }; 549 549 550 550 static int dcon_reboot_notify(struct notifier_block *nb,