All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 7/7] Drivers:iio:adc: Fix space prohibited before that ','
@ 2017-12-30  9:04 venkat.prashanth2498
  2018-01-01 10:13 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: venkat.prashanth2498 @ 2017-12-30  9:04 UTC (permalink / raw)
  To: lars, jic23, Michael.Hennerich
  Cc: knaack.h, pmeerw, linux-iio, Venkat Prashanth B U

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


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

* Re: [PATCH 7/7] Drivers:iio:adc: Fix space prohibited before that ','
  2017-12-30  9:04 [PATCH 7/7] Drivers:iio:adc: Fix space prohibited before that ',' venkat.prashanth2498
@ 2018-01-01 10:13 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2018-01-01 10:13 UTC (permalink / raw)
  To: venkat.prashanth2498; +Cc: lars, Michael.Hennerich, knaack.h, pmeerw, linux-iio

On Sat, 30 Dec 2017 14:34:46 +0530
venkat.prashanth2498@gmail.com wrote:

> 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>

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

Jonathan

> ---
>  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


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

end of thread, other threads:[~2018-01-01 10:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-30  9:04 [PATCH 7/7] Drivers:iio:adc: Fix space prohibited before that ',' venkat.prashanth2498
2018-01-01 10:13 ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.