From e78a48c5bfc3ea70e12d6499e15e6746d2c003aa Mon Sep 17 00:00:00 2001 From: Jesse Gilles Date: Tue, 4 Nov 2014 15:43:09 -0600 Subject: mtcdt: relabel controllable LEDs to status, a, b, c, d --- io-module/mtcdt.c | 18 ++++-------------- 1 file 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 @@ -46,15 +46,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 = { @@ -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, }; -- cgit v1.2.3