aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2013-04-29 19:18:05 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-29 21:28:19 -0400
commitc365e59d47b75c5f288f7e63d95dc0c9abcfe516 (patch)
tree93b77b3a538b27797ab5bbd50f5c462b8154dec1 /include/linux/platform_data
parent98e35be2badd7a499a001a0681d1904f8c56f3e6 (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 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/lp855x.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/platform_data/lp855x.h b/include/linux/platform_data/lp855x.h
index a4ed0bd65fda..ea3200527dd3 100644
--- a/include/linux/platform_data/lp855x.h
+++ b/include/linux/platform_data/lp855x.h
@@ -115,9 +115,6 @@ struct lp855x_rom_data {
115 * @initial_brightness : initial value of backlight brightness 115 * @initial_brightness : initial value of backlight brightness
116 * @period_ns : platform specific pwm period value. unit is nano. 116 * @period_ns : platform specific pwm period value. unit is nano.
117 Only valid when mode is PWM_BASED. 117 Only valid when mode is PWM_BASED.
118 * @load_new_rom_data :
119 0 : use default configuration data
120 1 : update values of eeprom or eprom registers on loading driver
121 * @size_program : total size of lp855x_rom_data 118 * @size_program : total size of lp855x_rom_data
122 * @rom_data : list of new eeprom/eprom registers 119 * @rom_data : list of new eeprom/eprom registers
123 */ 120 */
@@ -126,7 +123,6 @@ struct lp855x_platform_data {
126 u8 device_control; 123 u8 device_control;
127 u8 initial_brightness; 124 u8 initial_brightness;
128 unsigned int period_ns; 125 unsigned int period_ns;
129 u8 load_new_rom_data;
130 int size_program; 126 int size_program;
131 struct lp855x_rom_data *rom_data; 127 struct lp855x_rom_data *rom_data;
132}; 128};