]> git.karo-electronics.de Git - linux-beck.git/commit
staging: sm750fb: remove parantheses from return statements
authorSupriya Karanth <iskaranth@gmail.com>
Sat, 14 Mar 2015 12:55:11 +0000 (21:55 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Mar 2015 17:41:15 +0000 (18:41 +0100)
commit6946edd07a98e74fa7eedc465dc37a615830a311
treee141cff152a82e5b2e429055cec69873b01f98bd
parentd2a6037738be69a51e6cbd09d348c949f0936fcd
staging: sm750fb: remove parantheses from return statements

found by checkpatch.pl :ERROR: return is not a function,
parentheses are not required

changes made using coccinelle script:

@@
expression e,e1;
@@
(
return (e / e1);
|
return
-(
e
-)
;
)

Signed-off-by: Supriya Karanth <iskaranth@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_chip.c
drivers/staging/sm750fb/ddk750_swi2c.c