Skip to content

Commit 761c839

Browse files
Thomas Zimmermannlag-linaro
authored andcommitted
backlight: lm3533-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: Daniel Thompson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 814d3e8 commit 761c839

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/video/backlight/lm3533_bl.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include <linux/init.h>
1212
#include <linux/platform_device.h>
1313
#include <linux/backlight.h>
14-
#include <linux/fb.h>
1514
#include <linux/slab.h>
1615

1716
#include <linux/mfd/lm3533.h>
@@ -344,7 +343,7 @@ static void lm3533_bl_remove(struct platform_device *pdev)
344343

345344
dev_dbg(&bd->dev, "%s\n", __func__);
346345

347-
bd->props.power = FB_BLANK_POWERDOWN;
346+
bd->props.power = BACKLIGHT_POWER_OFF;
348347
bd->props.brightness = 0;
349348

350349
lm3533_ctrlbank_disable(&bl->cb);

0 commit comments

Comments
 (0)