]> git.baikalelectronics.ru Git - kernel.git/commit
staging: iio: Remove parantheses around right hand side of assignment
authorJanani Ravichandran <janani.rvchndrn@gmail.com>
Tue, 9 Feb 2016 18:40:28 +0000 (13:40 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Feb 2016 01:51:57 +0000 (17:51 -0800)
commit9e2e247ca7c479abd72025b414b7ca034da91ac9
treee0c5ef30f51813a039163b86c8bf9e37659ca2d8
parent481295a8ba3248341a0e9cc8d2e8f1e469d24c32
staging: iio: Remove parantheses around right hand side of assignment

Remove parantheses on the right hand side of assignments as they are not
needed. Coccinelle patch used:
@@
expression a, b, c, d;
@@

(
  a = (c == d)
|
  a =
- (
  b
- )
)

Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/adc/ad7280a.c
drivers/staging/iio/light/tsl2x7x_core.c