[media] staging: media: omap4iss: Replace a bit shift by a use of BIT
authorArushi Singhal <arushisinghal19971997@gmail.com>
Wed, 22 Mar 2017 04:26:09 +0000 (01:26 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 18 Apr 2017 15:13:11 +0000 (12:13 -0300)
commitc762efd323ca5ba9c6dbcf8975cb6f46a27a2fff
tree0082b53e3b54366577e8c4e3a645649f0d36984b
parent158f0328af86a99d64073851967a02694bff987d
[media] staging: media: omap4iss: Replace a bit shift by a use of BIT

This patch replaces bit shifting on 1 with the BIT(x) macro.
This was done with coccinelle:
@@
constant c;
@@

-1 << c
+BIT(c)

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/omap4iss/iss_csi2.c
drivers/staging/media/omap4iss/iss_ipipe.c
drivers/staging/media/omap4iss/iss_ipipeif.c
drivers/staging/media/omap4iss/iss_resizer.c