diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2017-12-27 15:51:40 +0100 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2018-01-05 19:25:14 +0530 |
commit | d6693b59eb0c88e74a4f7d121924d79998752b8f (patch) | |
tree | 1b86b71b098c44011292c0a0708c9e2b8ef2ab76 /arch | |
parent | a8bc4f0a5d4e2c0214b230e68b892cd72cdea27b (diff) | |
download | op-kernel-dev-d6693b59eb0c88e74a4f7d121924d79998752b8f.zip op-kernel-dev-d6693b59eb0c88e74a4f7d121924d79998752b8f.tar.gz |
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: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-davinci/board-da850-evm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index cbde003..d898a94 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c @@ -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; |