staging: media: davinci_vpfe: Use BIT macro instead of left shifting 1
authorsayli karnik <karniksayli1995@gmail.com>
Fri, 16 Sep 2016 18:44:57 +0000 (00:14 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Sep 2016 21:36:53 +0000 (23:36 +0200)
commitf9c7cb1cb5e1d81d24bf2d2c79229a3f25ab7e5d
tree2f1b59b292fef0a748b6808f73b09b7eeedbbb52
parent2751bc918e61a114704f2a6673d316a38878319d
staging: media: davinci_vpfe: Use BIT macro instead of left shifting 1

This patch replaces left shifts on 1 with the BIT(x) macro, as suggested
by checkpatch.pl.
This was done using coccinelle script:
@@
constant c;
@@
- (1 << c)
+ BIT(c)

Signed-off-by: sayli karnik <karniksayli1995@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h