staging: panel: Prefer using BIT Macro
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Fri, 16 Oct 2015 16:41:36 +0000 (22:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 06:05:17 +0000 (23:05 -0700)
commit79f2af620ef5ae6a6ddf4a3da65568c90c0c5e25
tree4c55c24510b0080d98547de6c1e8c4b2892d8803
parent779fcc8410757386bac35ddf4ba026943f2f24f3
staging: panel: 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/panel/panel.c
This page took 0.02849 seconds and 5 git commands to generate.