Commit d6693b59 authored by Julia Lawall's avatar Julia Lawall Committed by Sekhar Nori

ARM: davinci: drop unneeded newline

gpio_request uses its second argument as a label, so it doesn't seem
appropriate for it to have a newline.  Done using Coccinelle.
Signed-off-by: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent a8bc4f0a
...@@ -798,11 +798,11 @@ static int da850_lcd_hw_init(void) ...@@ -798,11 +798,11 @@ static int da850_lcd_hw_init(void)
{ {
int status; int status;
status = gpio_request(DA850_LCD_BL_PIN, "lcd bl\n"); status = gpio_request(DA850_LCD_BL_PIN, "lcd bl");
if (status < 0) if (status < 0)
return status; return status;
status = gpio_request(DA850_LCD_PWR_PIN, "lcd pwr\n"); status = gpio_request(DA850_LCD_PWR_PIN, "lcd pwr");
if (status < 0) { if (status < 0) {
gpio_free(DA850_LCD_BL_PIN); gpio_free(DA850_LCD_BL_PIN);
return status; return status;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment