From: Haneen Mohammed Date: Wed, 25 Mar 2015 23:23:29 +0000 (+0300) Subject: Staging: iio: use the BIT macro in adc X-Git-Tag: omap-for-v4.1/fixes-rc1~165^2~138^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=418880f5708dec9fdb2eaa7a61175fa1d8ab4110;p=pandora-kernel.git 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-diff-tree failed