commit | f1d05b5f68cbe370b13a4432be5aa11ffc226dec | [log] [tgz] |
---|---|---|
author | Cristina Opriceana <cristina.opriceana@gmail.com> | Sat Mar 14 20:51:12 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 16 16:14:05 2015 +0100 |
tree | 039af53584de22f7a0552b8a8e625a8afdb3c972 | |
parent | 6970791fd5683a893bc11bb4722b82d899013465 [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>