summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/board-neuros-osd2.c
diff options
context:
space:
mode:
authorAndrew F. Davis2018-08-31 21:13:25 +0200
committerLinus Walleij2018-09-20 17:36:14 +0200
commitc36219d9d8df11641d28c6bd0698459485b1709b (patch)
tree452edcfb37d1a6b7e74b02e40b46c865c1eee709 /arch/arm/mach-davinci/board-neuros-osd2.c
parentgpio: davinci: Allocate the correct amount of memory for controller (diff)
downloadkernel-qcow2-linux-c36219d9d8df11641d28c6bd0698459485b1709b.tar.gz
kernel-qcow2-linux-c36219d9d8df11641d28c6bd0698459485b1709b.tar.xz
kernel-qcow2-linux-c36219d9d8df11641d28c6bd0698459485b1709b.zip
gpio: davinci: Remove unneeded GPIO macro
This macro does nothing and has only one user, remove it. Signed-off-by: Andrew F. Davis <afd@ti.com> Tested-by: Keerthy <j-keerthy@ti.com> Acked-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-davinci/board-neuros-osd2.c')
-rw-r--r--arch/arm/mach-davinci/board-neuros-osd2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-davinci/board-neuros-osd2.c b/arch/arm/mach-davinci/board-neuros-osd2.c
index 353f9e5a1454..efdaa27241c5 100644
--- a/arch/arm/mach-davinci/board-neuros-osd2.c
+++ b/arch/arm/mach-davinci/board-neuros-osd2.c
@@ -130,10 +130,10 @@ static struct platform_device davinci_fb_device = {
};
static const struct gpio_led ntosd2_leds[] = {
- { .name = "led1_green", .gpio = GPIO(10), },
- { .name = "led1_red", .gpio = GPIO(11), },
- { .name = "led2_green", .gpio = GPIO(12), },
- { .name = "led2_red", .gpio = GPIO(13), },
+ { .name = "led1_green", .gpio = 10, },
+ { .name = "led1_red", .gpio = 11, },
+ { .name = "led2_green", .gpio = 12, },
+ { .name = "led2_red", .gpio = 13, },
};
static struct gpio_led_platform_data ntosd2_leds_data = {