diff options
author | Milo(Woogyom) Kim <milo.kim@ti.com> | 2013-02-05 05:24:37 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-06 18:59:30 -0500 |
commit | 93ca4093adb757d5140071e72b2e9bfbb519b6c1 (patch) | |
tree | b4a569d4d3986f65608979c784c95441f968f791 /drivers/leds/leds-lp5523.c | |
parent | 87cc4bde2a97cd8acccf34f333d0980dc5c2aa8a (diff) |
leds-lp55xx: clean up unused data and functions
Old data structures and I2C function are not used any more.
Each driver uses the lp55xx common data and functions.
Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/leds-lp5523.c')
-rw-r--r-- | drivers/leds/leds-lp5523.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/leds/leds-lp5523.c b/drivers/leds/leds-lp5523.c index cf587c1b2c41..b14bde2db24f 100644 --- a/drivers/leds/leds-lp5523.c +++ b/drivers/leds/leds-lp5523.c | |||
@@ -142,25 +142,6 @@ enum lp5523_chip_id { | |||
142 | LP55231, | 142 | LP55231, |
143 | }; | 143 | }; |
144 | 144 | ||
145 | struct lp5523_led { | ||
146 | int id; | ||
147 | u8 chan_nr; | ||
148 | u8 led_current; | ||
149 | u8 max_current; | ||
150 | struct led_classdev cdev; | ||
151 | struct work_struct brightness_work; | ||
152 | u8 brightness; | ||
153 | }; | ||
154 | |||
155 | struct lp5523_chip { | ||
156 | struct mutex lock; /* Serialize control */ | ||
157 | struct i2c_client *client; | ||
158 | struct lp5523_led leds[LP5523_MAX_LEDS]; | ||
159 | struct lp5523_platform_data *pdata; | ||
160 | u8 num_channels; | ||
161 | u8 num_leds; | ||
162 | }; | ||
163 | |||
164 | static inline void lp5523_wait_opmode_done(void) | 145 | static inline void lp5523_wait_opmode_done(void) |
165 | { | 146 | { |
166 | usleep_range(1000, 2000); | 147 | usleep_range(1000, 2000); |