staging: gasket: apex: Prefer using the BIT macro
authorSanjana Sanikommu <sanjana99reddy99@gmail.com>
Thu, 28 Mar 2019 14:34:24 +0000 (20:04 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Mar 2019 16:15:55 +0000 (17:15 +0100)
commit041273721201e0935915aabb8d6b7499b9b949c3
treeee797b284fb8a8bfe5d5174a97f47f9a2ea156d7
parentbdcca44e16a2e701724ee305c265e07c36beace7
staging: gasket: apex: Prefer using the BIT macro

Challenge suggested by coccinelle.

Replace bit shifting on 1 with the BIT(x) macro.
Coccinelle script:

@@
constant c;
@@

-(1 << c)
+BIT(c)

Signed-off-by: Sanjana Sanikommu <sanjana99reddy99@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/apex_driver.c