diff options
author | Jesse Gilles <jgilles@multitech.com> | 2014-11-04 15:43:09 -0600 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2014-11-04 15:43:09 -0600 |
commit | e78a48c5bfc3ea70e12d6499e15e6746d2c003aa (patch) | |
tree | dcd83ddc7f856166c01dfe71d0cc846cb49387de /io-module/mtcdt.c | |
parent | cdf9e59ab6a793bb158c91c91aa0312a72211ad0 (diff) | |
download | mts-io-e78a48c5bfc3ea70e12d6499e15e6746d2c003aa.tar.gz mts-io-e78a48c5bfc3ea70e12d6499e15e6746d2c003aa.tar.bz2 mts-io-e78a48c5bfc3ea70e12d6499e15e6746d2c003aa.zip |
mtcdt: relabel controllable LEDs to status, a, b, c, d1.0.0
Diffstat (limited to 'io-module/mtcdt.c')
-rw-r--r-- | io-module/mtcdt.c | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/io-module/mtcdt.c b/io-module/mtcdt.c index 02ed59d..0a4f601 100644 --- a/io-module/mtcdt.c +++ b/io-module/mtcdt.c @@ -47,15 +47,6 @@ static struct gpio_pin gpio_pins_mtcdt_0_0[] = { .active_low = 1, }, { - .name = "STATUS_LED", - .pin = { - .gpio = AT91_PIN_PA24, - .flags = GPIOF_OUT_INIT_LOW, - .label = "led-a", - }, - .active_low = 1, - }, - { .name = "LED5", .pin = { .gpio = AT91_PIN_PA25, @@ -69,7 +60,7 @@ static struct gpio_pin gpio_pins_mtcdt_0_0[] = { .pin = { .gpio = AT91_PIN_PA25, .flags = GPIOF_OUT_INIT_HIGH, - .label = "led-b", + .label = "led-a", }, .active_low = 1, }, @@ -87,7 +78,7 @@ static struct gpio_pin gpio_pins_mtcdt_0_0[] = { .pin = { .gpio = AT91_PIN_PA26, .flags = GPIOF_OUT_INIT_HIGH, - .label = "led-c", + .label = "led-b", }, .active_low = 1, }, @@ -105,7 +96,7 @@ static struct gpio_pin gpio_pins_mtcdt_0_0[] = { .pin = { .gpio = AT91_PIN_PA27, .flags = GPIOF_OUT_INIT_HIGH, - .label = "led-d", + .label = "led-c", }, .active_low = 1, }, @@ -123,7 +114,7 @@ static struct gpio_pin gpio_pins_mtcdt_0_0[] = { .pin = { .gpio = AT91_PIN_PA28, .flags = GPIOF_OUT_INIT_HIGH, - .label = "led-e", + .label = "led-d", }, .active_low = 1, }, @@ -288,7 +279,6 @@ static struct attribute *mtcdt_platform_attributes[] = { &dev_attr_led_b_gpio.attr, &dev_attr_led_c_gpio.attr, &dev_attr_led_d_gpio.attr, - &dev_attr_led_e_gpio.attr, NULL, }; |