media: staging: media: davinci_vpfe: Replace a bit shift
authorArushi Singhal <arushisinghal19971997@gmail.com>
Wed, 29 Mar 2017 15:13:20 +0000 (11:13 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 29 May 2019 20:39:52 +0000 (16:39 -0400)
commitf42292040d31922ee4e4ea68e2f287fbc3bb2053
tree2c2593bc2281a2db741eb681d27f3ada4cdfbaf8
parent6995a659101bd4effa41cebb067f9dc18d77520d
media: staging: media: davinci_vpfe: Replace a bit shift

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

-1 << c
+BIT(c)

[mchehab+samsung@kernel.org: rebase on the top of upstream]
Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/omap3isp/ispstat.c
drivers/staging/media/davinci_vpfe/dm365_isif.c