]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb06ca3a4dc1cac88cf3a67825c431d907fce7935
tree2c2593bc2281a2db741eb681d27f3ada4cdfbaf8
parentf7cefe3b862cd89552af44bed0dff6eec6ae65a4
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