diff options
author | Kim, Milo <Milo.Kim@ti.com> | 2013-04-29 19:18:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-29 21:28:19 -0400 |
commit | c365e59d47b75c5f288f7e63d95dc0c9abcfe516 (patch) | |
tree | 93b77b3a538b27797ab5bbd50f5c462b8154dec1 /Documentation/backlight | |
parent | 98e35be2badd7a499a001a0681d1904f8c56f3e6 (diff) |
backlight: lp855x: remove duplicate platform data
The 'load_new_rom_data' was used for checking whether new ROM data should
be updated or not.
However, we can decide it with 'size_program' data. If the size is
greater than 0, it means updating ROM area is required. Otherwise, the
default ROM data will be used. Therefore, this duplicate platform data
can be removed.
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>
Diffstat (limited to 'Documentation/backlight')
-rw-r--r-- | Documentation/backlight/lp855x-driver.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Documentation/backlight/lp855x-driver.txt b/Documentation/backlight/lp855x-driver.txt index 72e2a673f774..1c732f0c6758 100644 --- a/Documentation/backlight/lp855x-driver.txt +++ b/Documentation/backlight/lp855x-driver.txt | |||
@@ -36,9 +36,6 @@ For supporting platform specific data, the lp855x platform data can be used. | |||
36 | * initial_brightness : Initial value of backlight brightness. | 36 | * initial_brightness : Initial value of backlight brightness. |
37 | * period_ns : Platform specific PWM period value. unit is nano. | 37 | * period_ns : Platform specific PWM period value. unit is nano. |
38 | Only valid when brightness is pwm input mode. | 38 | Only valid when brightness is pwm input mode. |
39 | * load_new_rom_data : | ||
40 | 0 : use default configuration data | ||
41 | 1 : update values of eeprom or eprom registers on loading driver | ||
42 | * size_program : Total size of lp855x_rom_data. | 39 | * size_program : Total size of lp855x_rom_data. |
43 | * rom_data : List of new eeprom/eprom registers. | 40 | * rom_data : List of new eeprom/eprom registers. |
44 | 41 | ||
@@ -55,7 +52,6 @@ static struct lp855x_platform_data lp8552_pdata = { | |||
55 | .name = "lcd-bl", | 52 | .name = "lcd-bl", |
56 | .device_control = I2C_CONFIG(LP8552), | 53 | .device_control = I2C_CONFIG(LP8552), |
57 | .initial_brightness = INITIAL_BRT, | 54 | .initial_brightness = INITIAL_BRT, |
58 | .load_new_rom_data = 1, | ||
59 | .size_program = ARRAY_SIZE(lp8552_eeprom_arr), | 55 | .size_program = ARRAY_SIZE(lp8552_eeprom_arr), |
60 | .rom_data = lp8552_eeprom_arr, | 56 | .rom_data = lp8552_eeprom_arr, |
61 | }; | 57 | }; |