aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorCristina Opriceana <cristina.opriceana@gmail.com>2015-03-14 20:51:12 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-16 16:14:05 +0100
commitf1d05b5f68cbe370b13a4432be5aa11ffc226dec (patch)
tree039af53584de22f7a0552b8a8e625a8afdb3c972 /block
parent6970791fd5683a893bc11bb4722b82d899013465 (diff)
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 <cristina.opriceana@gmail.com> Reviewed-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions