[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-iio
Subject: [PATCH 7/7] Drivers:iio:adc: Fix space prohibited before that ','
From: venkat.prashanth2498 () gmail ! com
Date: 2017-12-30 9:16:46
Message-ID: 1514624686-8485-1-git-send-email-venkat.prashanth2498 () gmail ! com
[Download RAW message or body]
From: Venkat Prashanth B U <venkat.prashanth2498@gmail.com>
This is a patch to the ad799x.c file that fixes
ERROR: space prohibited before that ','
found by the checkpatch.pl tool
Signed-off-by: Venkat Prashanth B U <venkat.prashanth2498@gmail.com>
---
drivers/iio/adc/ad799x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/adc/ad799x.c b/drivers/iio/adc/ad799x.c
index 01d7158..a3f5254 100644
--- a/drivers/iio/adc/ad799x.c
+++ b/drivers/iio/adc/ad799x.c
@@ -477,7 +477,7 @@ static int ad799x_read_event_value(struct iio_dev *indio_dev,
if (ret < 0)
return ret;
*val = (ret >> chan->scan_type.shift) &
- GENMASK(chan->scan_type.realbits - 1 , 0);
+ GENMASK(chan->scan_type.realbits - 1, 0);
return IIO_VAL_INT;
}
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic