summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-03-02 22:50:07 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-03-02 22:50:07 +0100
commit85305073f1116dbdecf4123eed8cd0b27e82ca37 (patch)
treec10cb5c4d48302c674682f1b3e5fa32562ee2f33 /arch/arm/mach-tegra
parentcd1f900629246129b96f3fb0699571d010e87487 (diff)
colibri_t20/30: rename pwm leds
Rename PWM LEDs to be consistent with Colibri PWM<X> naming.
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r--arch/arm/mach-tegra/board-colibri_t20.c21
-rw-r--r--arch/arm/mach-tegra/board-colibri_t30.c6
2 files changed, 14 insertions, 13 deletions
diff --git a/arch/arm/mach-tegra/board-colibri_t20.c b/arch/arm/mach-tegra/board-colibri_t20.c
index c752e2cd583d..c14b3f5e2670 100644
--- a/arch/arm/mach-tegra/board-colibri_t20.c
+++ b/arch/arm/mach-tegra/board-colibri_t20.c
@@ -628,29 +628,30 @@ static struct platform_device tegra_nand_device = {
/* PWM LEDs */
static struct led_pwm tegra_leds_pwm[] = {
+#ifdef MECS_TELLURIUM
{
- .name = "pwm_b",
- .pwm_id = 1,
+ .name = "PWM<A>",
+ .pwm_id = 0,
.max_brightness = 255,
.pwm_period_ns = 19600,
},
-#ifndef MECS_TELLURIUM
+#endif /* MECS_TELLURIUM */
{
- .name = "pwm_c",
- .pwm_id = 2,
+ .name = "PWM<B>",
+ .pwm_id = 1,
.max_brightness = 255,
.pwm_period_ns = 19600,
},
-#else /* MECS_TELLURIUM */
+#ifndef MECS_TELLURIUM
{
- .name = "pwm_a",
- .pwm_id = 0,
+ .name = "PWM<C>",
+ .pwm_id = 2,
.max_brightness = 255,
.pwm_period_ns = 19600,
},
-#endif /* MECS_TELLURIUM */
+#endif /* !MECS_TELLURIUM */
{
- .name = "pwm_d",
+ .name = "PWM<D>",
.pwm_id = 3,
.max_brightness = 255,
.pwm_period_ns = 19600,
diff --git a/arch/arm/mach-tegra/board-colibri_t30.c b/arch/arm/mach-tegra/board-colibri_t30.c
index 29fb0a607fd5..caff878a202f 100644
--- a/arch/arm/mach-tegra/board-colibri_t30.c
+++ b/arch/arm/mach-tegra/board-colibri_t30.c
@@ -399,19 +399,19 @@ static void __init colibri_t30_sdhci_init(void)
/* PWM LEDs */
static struct led_pwm tegra_leds_pwm[] = {
{
- .name = "pwm_b",
+ .name = "PWM<B>",
.pwm_id = 1,
.max_brightness = 255,
.pwm_period_ns = 19600,
},
{
- .name = "pwm_c",
+ .name = "PWM<C>",
.pwm_id = 2,
.max_brightness = 255,
.pwm_period_ns = 19600,
},
{
- .name = "pwm_d",
+ .name = "PWM<D>",
.pwm_id = 3,
.max_brightness = 255,
.pwm_period_ns = 19600,