From 418880f5708dec9fdb2eaa7a61175fa1d8ab4110 Mon Sep 17 00:00:00 2001 From: Haneen Mohammed Date: Thu, 26 Mar 2015 02:23:29 +0300 Subject: [PATCH] Staging: iio: use the BIT macro in adc This patch replaces bit shifting on: 0,1,2, and 3 with the BIT(x) macro. Issue addressed by checkpatcg.pl. This was done with the help of Coccinelle: @r1@ identifier x; constant int g; @@ ( 0<<\(x\|g\) | 1<<\(x\|g\) | 2<<\(x\|g\) | 3<<\(x\|g\) ) @script:python b@ g2 < Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed