Skip to contentSkip to conversation

Drivers:iio:adc: Fix space prohibited before that ','

PATCH In review [email protected] 2 participants 2 messages Dec 30, 2017 – Jan 1, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 7/7 Drivers:iio:adc: Fix space prohibited before that ','

From: Venkat Prashanth B U <[email protected]>

This is a patch to the ad799x.c file that fixes
ERROR: space prohibited before that ','
found by the checkpatch.pl tool

---
 drivers/iio/adc/ad799x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/adc/ad799x.c +1 -1
index 01d7158..a3f5254 100644
@@ -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

maintainer
#1 lore raw
Quoted 7 lines · On Sat, 30 Dec 2017 14:34:46 +0530 [email protected] wrote:

From: Venkat Prashanth B U <[email protected]>

This is a patch to the ad799x.c file that fixes
ERROR: space prohibited before that ','
found by the checkpatch.pl tool

I'm curious. What tree are you looking in? This has been fixed since a patch back in April 2016...

Jonathan

Quoted 24 lines
---
 drivers/iio/adc/ad799x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/adc/ad799x.c +1 -2
index 01d7158..a3f5254 100644
@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html