diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2016-02-24 17:00:15 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-12 06:09:09 (GMT) |
commit | 732053a0a005397374e3afc54618ef5e3e524eed (patch) | |
tree | 01391dde84ca7b5acc2c2a1a9595b591dea69f71 /drivers/staging/sm750fb/ddk750_hwi2c.c | |
parent | 720f7a7850556f8d9ed6069cbcfd9b34b105e04a (diff) | |
download | linux-732053a0a005397374e3afc54618ef5e3e524eed.tar.xz |
staging: sm750fb: Remove parentheses from return arguments
Remove unnecessary parentheses from return arguments.
The Coccinelle semantic patch that makes this change is as follows:
// <smpl>
@@
identifier i;
constant c;
@@
return
- (
\(i\|-i\|i(...)\|c\)
- )
;
// </smpl>
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/ddk750_hwi2c.c')
-rw-r--r-- | drivers/staging/sm750fb/ddk750_hwi2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/staging/sm750fb/ddk750_hwi2c.c index 231c021..39c3e1c 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 |