linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Staging:iio:adc:Prefer using BIT macro
@ 2016-02-08  6:48 Bhumika Goyal
  2016-02-08  6:48 ` [PATCH 1/2] Staging:iio:Prefer " Bhumika Goyal
  2016-02-08  6:48 ` [PATCH 2/2] Staging: iio: adc: Prefer using the " Bhumika Goyal
  0 siblings, 2 replies; 6+ messages in thread
From: Bhumika Goyal @ 2016-02-08  6:48 UTC (permalink / raw)
  To: lars, gregkh, Michael.Hennerich, jic23, knaack.h, pmeerw
  Cc: linux-iio, devel, linux-kernel, Bhumika Goyal

This patchset replaces bit shifting on 1 with the BIT(x) macro.
This was done with coccinelle:
@@ int g; @@ 
-(1 << g) 
+BIT(g)

Bhumika Goyal (2):
  Staging:iio:Prefer using BIT macro
  Staging: iio: adc: Prefer using the BIT macro

 drivers/staging/iio/adc/ad7280a.c | 4 ++--
 drivers/staging/iio/adc/ad7816.c  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-08 15:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-08  6:48 [PATCH 0/2] Staging:iio:adc:Prefer using BIT macro Bhumika Goyal
2016-02-08  6:48 ` [PATCH 1/2] Staging:iio:Prefer " Bhumika Goyal
2016-02-08  9:14   ` Lars-Peter Clausen
2016-02-08 15:11     ` Andy Shevchenko
2016-02-08  6:48 ` [PATCH 2/2] Staging: iio: adc: Prefer using the " Bhumika Goyal
2016-02-08  9:16   ` Lars-Peter Clausen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).