Skip to content

Commit b6675c5

Browse files
Thomas Zimmermannlag-linaro
authored andcommitted
backlight: ipaq-micro-backlight: 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: Linus Walleij <[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 ef51815 commit b6675c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/video/backlight/ipaq_micro_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/err.h>
10-
#include <linux/fb.h>
1110
#include <linux/init.h>
1211
#include <linux/mfd/ipaq-micro.h>
1312
#include <linux/module.h>
@@ -42,7 +41,7 @@ static const struct backlight_ops micro_bl_ops = {
4241
static const struct backlight_properties micro_bl_props = {
4342
.type = BACKLIGHT_RAW,
4443
.max_brightness = 255,
45-
.power = FB_BLANK_UNBLANK,
44+
.power = BACKLIGHT_POWER_ON,
4645
.brightness = 64,
4746
};
4847

0 commit comments

Comments
 (0)