]> Git Repo - linux.git/commitdiff
ARM: davinci: drop unneeded newline
authorJulia Lawall <[email protected]>
Wed, 27 Dec 2017 14:51:40 +0000 (15:51 +0100)
committerSekhar Nori <[email protected]>
Fri, 5 Jan 2018 13:55:14 +0000 (19:25 +0530)
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: Julia Lawall <[email protected]>
Signed-off-by: Sekhar Nori <[email protected]>
arch/arm/mach-davinci/board-da850-evm.c

index cbde0030c092fe1213c4cddb6ffe19383d200e3c..d898a94f6eaed8766e38103f3c3b113ae1eed3f0 100644 (file)
@@ -798,11 +798,11 @@ static int da850_lcd_hw_init(void)
 {
        int status;
 
-       status = gpio_request(DA850_LCD_BL_PIN, "lcd bl\n");
+       status = gpio_request(DA850_LCD_BL_PIN, "lcd bl");
        if (status < 0)
                return status;
 
-       status = gpio_request(DA850_LCD_PWR_PIN, "lcd pwr\n");
+       status = gpio_request(DA850_LCD_PWR_PIN, "lcd pwr");
        if (status < 0) {
                gpio_free(DA850_LCD_BL_PIN);
                return status;
This page took 0.066729 seconds and 4 git commands to generate.