diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-26 12:29:02 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-26 12:29:02 -0500 |
commit | 0512c04a2b5d29a33d96d315e1d14c55f5148aa7 (patch) | |
tree | 6373c0370abe32e1e42a933bd9cd08727e48b5d9 /arch/arm/mach-ux500 | |
parent | 5115f3c19d17851aaff5a857f55b4a019c908775 (diff) | |
parent | 4b07c5d5123f76487c61cf9dc3f987d0b8c88a94 (diff) |
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds
Pull LED subsystem update from Bryan Wu.
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds: (61 commits)
leds: leds-sunfire: use dev_err()/pr_err() instead of printk()
leds: 88pm860x: Add missing of_node_put()
leds: tca6507: Use of_get_child_count()
leds: leds-pwm: make it depend on PWM and not HAVE_PWM
Documentation: leds: update LP55xx family devices
leds-lp55xx: fix problem on removing LED attributes
leds-lp5521/5523: add author and copyright description
leds-lp5521/5523: use new lp55xx common header
leds-lp55xx: clean up headers
leds-lp55xx: clean up definitions
leds-lp55xx: clean up unused data and functions
leds-lp55xx: clean up _remove()
leds-lp55xx: add new function for removing device attribtues
leds-lp55xx: code refactoring on selftest function
leds-lp55xx: use common device attribute driver function
leds-lp55xx: support device specific attributes
leds-lp5523: use generic firmware interface
leds-lp5521: use generic firmware interface
leds-lp55xx: support firmware interface
leds-lp55xx: add new lp55xx_register_sysfs() for the firmware interface
...
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r-- | arch/arm/mach-ux500/board-mop500.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index 3868aa4ff15e..b03457881c4b 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/mfd/tps6105x.h> | 28 | #include <linux/mfd/tps6105x.h> |
29 | #include <linux/mfd/abx500/ab8500-gpio.h> | 29 | #include <linux/mfd/abx500/ab8500-gpio.h> |
30 | #include <linux/mfd/abx500/ab8500-codec.h> | 30 | #include <linux/mfd/abx500/ab8500-codec.h> |
31 | #include <linux/leds-lp5521.h> | 31 | #include <linux/platform_data/leds-lp55xx.h> |
32 | #include <linux/input.h> | 32 | #include <linux/input.h> |
33 | #include <linux/smsc911x.h> | 33 | #include <linux/smsc911x.h> |
34 | #include <linux/gpio_keys.h> | 34 | #include <linux/gpio_keys.h> |
@@ -301,7 +301,7 @@ static struct tc3589x_platform_data mop500_tc35892_data = { | |||
301 | .irq_base = MOP500_EGPIO_IRQ_BASE, | 301 | .irq_base = MOP500_EGPIO_IRQ_BASE, |
302 | }; | 302 | }; |
303 | 303 | ||
304 | static struct lp5521_led_config lp5521_pri_led[] = { | 304 | static struct lp55xx_led_config lp5521_pri_led[] = { |
305 | [0] = { | 305 | [0] = { |
306 | .chan_nr = 0, | 306 | .chan_nr = 0, |
307 | .led_current = 0x2f, | 307 | .led_current = 0x2f, |
@@ -319,14 +319,14 @@ static struct lp5521_led_config lp5521_pri_led[] = { | |||
319 | }, | 319 | }, |
320 | }; | 320 | }; |
321 | 321 | ||
322 | static struct lp5521_platform_data __initdata lp5521_pri_data = { | 322 | static struct lp55xx_platform_data __initdata lp5521_pri_data = { |
323 | .label = "lp5521_pri", | 323 | .label = "lp5521_pri", |
324 | .led_config = &lp5521_pri_led[0], | 324 | .led_config = &lp5521_pri_led[0], |
325 | .num_channels = 3, | 325 | .num_channels = 3, |
326 | .clock_mode = LP5521_CLOCK_EXT, | 326 | .clock_mode = LP55XX_CLOCK_EXT, |
327 | }; | 327 | }; |
328 | 328 | ||
329 | static struct lp5521_led_config lp5521_sec_led[] = { | 329 | static struct lp55xx_led_config lp5521_sec_led[] = { |
330 | [0] = { | 330 | [0] = { |
331 | .chan_nr = 0, | 331 | .chan_nr = 0, |
332 | .led_current = 0x2f, | 332 | .led_current = 0x2f, |
@@ -344,11 +344,11 @@ static struct lp5521_led_config lp5521_sec_led[] = { | |||
344 | }, | 344 | }, |
345 | }; | 345 | }; |
346 | 346 | ||
347 | static struct lp5521_platform_data __initdata lp5521_sec_data = { | 347 | static struct lp55xx_platform_data __initdata lp5521_sec_data = { |
348 | .label = "lp5521_sec", | 348 | .label = "lp5521_sec", |
349 | .led_config = &lp5521_sec_led[0], | 349 | .led_config = &lp5521_sec_led[0], |
350 | .num_channels = 3, | 350 | .num_channels = 3, |
351 | .clock_mode = LP5521_CLOCK_EXT, | 351 | .clock_mode = LP55XX_CLOCK_EXT, |
352 | }; | 352 | }; |
353 | 353 | ||
354 | static struct i2c_board_info __initdata mop500_i2c0_devices[] = { | 354 | static struct i2c_board_info __initdata mop500_i2c0_devices[] = { |