From 732053a0a005397374e3afc54618ef5e3e524eed Mon Sep 17 00:00:00 2001 From: Amitoj Kaur Chawla Date: Wed, 24 Feb 2016 22:30:15 +0530 Subject: [PATCH] staging: sm750fb: Remove parentheses from return arguments Remove unnecessary parentheses from return arguments. The Coccinelle semantic patch that makes this change is as follows: // @@ identifier i; constant c; @@ return - ( \(i\|-i\|i(...)\|c\) - ) ; // Signed-off-by: Amitoj Kaur Chawla Signed-off-by: Greg Kroah-Hartman --- drivers/staging/sm750fb/ddk750_hwi2c.c | 4 ++-- drivers/staging/sm750fb/ddk750_sii164.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/staging/sm750fb/ddk750_hwi2c.c index 231c02114ed4..39c3e1cdbc0c 100644 --- a/drivers/staging/sm750fb/ddk750_hwi2c.c +++ b/drivers/staging/sm750fb/ddk750_hwi2c.c @@ -63,7 +63,7 @@ static long hw_i2c_wait_tx_done(void) timeout--; if (timeout == 0) - return (-1); + return -1; return 0; } @@ -248,7 +248,7 @@ int sm750_hw_i2c_write_reg( if (hw_i2c_write_data(addr, 2, value) == 2) return 0; - return (-1); + return -1; } #endif diff --git a/drivers/staging/sm750fb/ddk750_sii164.c b/drivers/staging/sm750fb/ddk750_sii164.c index 9fd6afb009c2..67f36e71da7e 100644 --- a/drivers/staging/sm750fb/ddk750_sii164.c +++ b/drivers/staging/sm750fb/ddk750_sii164.c @@ -236,7 +236,7 @@ long sii164InitChip( } /* Return -1 if initialization fails. */ - return (-1); + return -1; }