Skip to content

Commit 6910d19

Browse files
Thomas Zimmermannlag-linaro
authored andcommitted
backlight: journada_bl: 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. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Daniel Thompson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent b6675c5 commit 6910d19

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/video/backlight/jornada720_bl.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
#include <linux/backlight.h>
99
#include <linux/device.h>
10-
#include <linux/fb.h>
1110
#include <linux/kernel.h>
1211
#include <linux/module.h>
1312
#include <linux/platform_device.h>
@@ -121,7 +120,7 @@ static int jornada_bl_probe(struct platform_device *pdev)
121120
return ret;
122121
}
123122

124-
bd->props.power = FB_BLANK_UNBLANK;
123+
bd->props.power = BACKLIGHT_POWER_ON;
125124
bd->props.brightness = BL_DEF_BRIGHT;
126125
/*
127126
* note. make sure max brightness is set otherwise

0 commit comments

Comments
 (0)