staging: rdma: amso1100: Prefer using BIT Macro
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Fri, 16 Oct 2015 16:40:25 +0000 (22:10 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 06:02:55 +0000 (23:02 -0700)
commitb49f3b23428433dc1e8bf323d1c39be73f1605e5
tree6003f5a3ce198fddd975e2a5e0e3f75464da400e
parentd32cf44a62716d4fa9e9d8a5d7201a89d936fe5e
staging: rdma: amso1100: Prefer using BIT Macro

Replace bit shifting on 1 with the BIT(x) Macro

The semantic patch used to find this is:
@@ int g; @@

-(1 << g)
+BIT(g)

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/amso1100/c2_provider.c