]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
staging: vt6655: Prefer using BIT Macro
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Fri, 16 Oct 2015 16:43:29 +0000 (22:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 06:05:17 +0000 (23:05 -0700)
commita8a211c481f806c20d56ddb7b0f8533813e936d0
tree6ae7fbe4fe23b2e4aab4b5d449578a730f7ceca8
parent574dddc6d73eedb3177c8db4f61fa7cebcabb128
staging: vt6655: 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/vt6655/card.c