From: Cristina Opriceana Date: Sat, 14 Mar 2015 18:51:12 +0000 (+0200) Subject: Staging: iio: Prefer using the BIT macro X-Git-Tag: omap-for-v4.1/fixes-rc1~165^2~138^2~387 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1d05b5f68cbe370b13a4432be5aa11ffc226dec;p=pandora-kernel.git Staging: iio: Prefer using the BIT macro This patch replaces bit shifting on 1 with the BIT(x) macro as it's extensively used by other function in this driver. This was done with coccinelle: @@ int g; @@ -(1 << g) +BIT(g) Signed-off-by: Cristina Opriceana Reviewed-by: Daniel Baluta Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed