Skip to content

Commit

Permalink
backlight: lp855x: fix initial brightness type
Browse files Browse the repository at this point in the history
Valid range of the brightness is from 0 to 255, so initial brightness
is changed from integer to u8.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Kim, Milo authored and Linus Torvalds committed Apr 30, 2013
1 parent 0b81857 commit 98e35be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/platform_data/lp855x.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 98e35be

Please sign in to comment.