Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98e35be2 authored by Kim, Milo's avatar Kim, Milo Committed by Linus Torvalds
Browse files

backlight: lp855x: fix initial brightness type



Valid range of the brightness is from 0 to 255, so initial brightness
is changed from integer to u8.

Signed-off-by: default avatarMilo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0b818573
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ struct lp855x_rom_data {
struct lp855x_platform_data {
	const char *name;
	u8 device_control;
	int initial_brightness;
	u8 initial_brightness;
	unsigned int period_ns;
	u8 load_new_rom_data;
	int size_program;