diff options
| author | 2015-03-14 20:51:12 +0200 | |
|---|---|---|
| committer | 2015-03-16 16:14:05 +0100 | |
| commit | f1d05b5f68cbe370b13a4432be5aa11ffc226dec (patch) | |
| tree | 039af53584de22f7a0552b8a8e625a8afdb3c972 /kernel/debug | |
| parent | Staging: iio: Remove explicit comparison to NULL (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 'kernel/debug')
0 files changed, 0 insertions, 0 deletions
