lkml.org 
[lkml]   [2016]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH 0/2] Staging:iio:adc:Prefer using BIT macro
    Date
    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

    \
     
     \ /
      Last update: 2016-02-08 08:21    [W:9.339 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site