Linux-IIO Archive on lore.kernel.org
 help / Atom feed
* [PATCH] iio: adc: ads124s08: fix spelling mistake "converions" -> "conversions"
@ 2019-02-07  9:39 Colin King
  2019-02-07 13:14 ` Dan Murphy
  0 siblings, 1 reply; 3+ messages in thread
From: Colin King @ 2019-02-07  9:39 UTC (permalink / raw)
  To: Jonathan Cameron, Hartmut Knaack, Lars-Peter Clausen,
	Peter Meerwald-Stadler, Dan Murphy, linux-iio
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

There is a spelling mistake in several dev_err messages. Fix these.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/iio/adc/ti-ads124s08.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/iio/adc/ti-ads124s08.c b/drivers/iio/adc/ti-ads124s08.c
index c2cf58908fc8..53f17e4f2f23 100644
--- a/drivers/iio/adc/ti-ads124s08.c
+++ b/drivers/iio/adc/ti-ads124s08.c
@@ -232,7 +232,7 @@ static int ads124s_read_raw(struct iio_dev *indio_dev,
 
 		ret = ads124s_write_cmd(indio_dev, ADS124S08_START_CONV);
 		if (ret) {
-			dev_err(&priv->spi->dev, "Start converions failed\n");
+			dev_err(&priv->spi->dev, "Start conversions failed\n");
 			goto out;
 		}
 
@@ -246,7 +246,7 @@ static int ads124s_read_raw(struct iio_dev *indio_dev,
 
 		ret = ads124s_write_cmd(indio_dev, ADS124S08_STOP_CONV);
 		if (ret) {
-			dev_err(&priv->spi->dev, "Stop converions failed\n");
+			dev_err(&priv->spi->dev, "Stop conversions failed\n");
 			goto out;
 		}
 
@@ -283,12 +283,12 @@ static irqreturn_t ads124s_trigger_handler(int irq, void *p)
 
 		ret = ads124s_write_cmd(indio_dev, ADS124S08_START_CONV);
 		if (ret)
-			dev_err(&priv->spi->dev, "Start ADC converions failed\n");
+			dev_err(&priv->spi->dev, "Start ADC conversions failed\n");
 
 		buffer[j] = ads124s_read(indio_dev, scan_index);
 		ret = ads124s_write_cmd(indio_dev, ADS124S08_STOP_CONV);
 		if (ret)
-			dev_err(&priv->spi->dev, "Stop ADC converions failed\n");
+			dev_err(&priv->spi->dev, "Stop ADC conversions failed\n");
 
 		j++;
 	}
-- 
2.20.1


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

* Re: [PATCH] iio: adc: ads124s08: fix spelling mistake "converions" -> "conversions"
  2019-02-07  9:39 [PATCH] iio: adc: ads124s08: fix spelling mistake "converions" -> "conversions" Colin King
@ 2019-02-07 13:14 ` Dan Murphy
  2019-02-09 17:02   ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Murphy @ 2019-02-07 13:14 UTC (permalink / raw)
  To: Colin King, Jonathan Cameron, Hartmut Knaack, Lars-Peter Clausen,
	Peter Meerwald-Stadler, linux-iio
  Cc: kernel-janitors, linux-kernel

Colin

Thanks for the patch

On 2/7/19 3:39 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> There is a spelling mistake in several dev_err messages. Fix these.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/iio/adc/ti-ads124s08.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/iio/adc/ti-ads124s08.c b/drivers/iio/adc/ti-ads124s08.c
> index c2cf58908fc8..53f17e4f2f23 100644
> --- a/drivers/iio/adc/ti-ads124s08.c
> +++ b/drivers/iio/adc/ti-ads124s08.c
> @@ -232,7 +232,7 @@ static int ads124s_read_raw(struct iio_dev *indio_dev,
>  
>  		ret = ads124s_write_cmd(indio_dev, ADS124S08_START_CONV);
>  		if (ret) {
> -			dev_err(&priv->spi->dev, "Start converions failed\n");
> +			dev_err(&priv->spi->dev, "Start conversions failed\n");
>  			goto out;
>  		}
>  
> @@ -246,7 +246,7 @@ static int ads124s_read_raw(struct iio_dev *indio_dev,
>  
>  		ret = ads124s_write_cmd(indio_dev, ADS124S08_STOP_CONV);
>  		if (ret) {
> -			dev_err(&priv->spi->dev, "Stop converions failed\n");
> +			dev_err(&priv->spi->dev, "Stop conversions failed\n");
>  			goto out;
>  		}
>  
> @@ -283,12 +283,12 @@ static irqreturn_t ads124s_trigger_handler(int irq, void *p)
>  
>  		ret = ads124s_write_cmd(indio_dev, ADS124S08_START_CONV);
>  		if (ret)
> -			dev_err(&priv->spi->dev, "Start ADC converions failed\n");
> +			dev_err(&priv->spi->dev, "Start ADC conversions failed\n");
>  
>  		buffer[j] = ads124s_read(indio_dev, scan_index);
>  		ret = ads124s_write_cmd(indio_dev, ADS124S08_STOP_CONV);
>  		if (ret)
> -			dev_err(&priv->spi->dev, "Stop ADC converions failed\n");
> +			dev_err(&priv->spi->dev, "Stop ADC conversions failed\n");
>  
>  		j++;
>  	}
> 

Acked-by: Dan Murphy <dmurphy@ti.com>

-- 
------------------
Dan Murphy

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

* Re: [PATCH] iio: adc: ads124s08: fix spelling mistake "converions" -> "conversions"
  2019-02-07 13:14 ` Dan Murphy
@ 2019-02-09 17:02   ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2019-02-09 17:02 UTC (permalink / raw)
  To: Dan Murphy
  Cc: Colin King, Hartmut Knaack, Lars-Peter Clausen,
	Peter Meerwald-Stadler, linux-iio, kernel-janitors, linux-kernel

On Thu, 7 Feb 2019 07:14:00 -0600
Dan Murphy <dmurphy@ti.com> wrote:

> Colin
> 
> Thanks for the patch
> 
> On 2/7/19 3:39 AM, Colin King wrote:
> > From: Colin Ian King <colin.king@canonical.com>
> > 
> > There is a spelling mistake in several dev_err messages. Fix these.
> > 
> > Signed-off-by: Colin Ian King <colin.king@canonical.com>
> > ---
> >  drivers/iio/adc/ti-ads124s08.c | 8 ++++----
> >  1 file changed, 4 insertions(+), 4 deletions(-)
> > 
> > diff --git a/drivers/iio/adc/ti-ads124s08.c b/drivers/iio/adc/ti-ads124s08.c
> > index c2cf58908fc8..53f17e4f2f23 100644
> > --- a/drivers/iio/adc/ti-ads124s08.c
> > +++ b/drivers/iio/adc/ti-ads124s08.c
> > @@ -232,7 +232,7 @@ static int ads124s_read_raw(struct iio_dev *indio_dev,
> >  
> >  		ret = ads124s_write_cmd(indio_dev, ADS124S08_START_CONV);
> >  		if (ret) {
> > -			dev_err(&priv->spi->dev, "Start converions failed\n");
> > +			dev_err(&priv->spi->dev, "Start conversions failed\n");
> >  			goto out;
> >  		}
> >  
> > @@ -246,7 +246,7 @@ static int ads124s_read_raw(struct iio_dev *indio_dev,
> >  
> >  		ret = ads124s_write_cmd(indio_dev, ADS124S08_STOP_CONV);
> >  		if (ret) {
> > -			dev_err(&priv->spi->dev, "Stop converions failed\n");
> > +			dev_err(&priv->spi->dev, "Stop conversions failed\n");
> >  			goto out;
> >  		}
> >  
> > @@ -283,12 +283,12 @@ static irqreturn_t ads124s_trigger_handler(int irq, void *p)
> >  
> >  		ret = ads124s_write_cmd(indio_dev, ADS124S08_START_CONV);
> >  		if (ret)
> > -			dev_err(&priv->spi->dev, "Start ADC converions failed\n");
> > +			dev_err(&priv->spi->dev, "Start ADC conversions failed\n");
> >  
> >  		buffer[j] = ads124s_read(indio_dev, scan_index);
> >  		ret = ads124s_write_cmd(indio_dev, ADS124S08_STOP_CONV);
> >  		if (ret)
> > -			dev_err(&priv->spi->dev, "Stop ADC converions failed\n");
> > +			dev_err(&priv->spi->dev, "Stop ADC conversions failed\n");
> >  
> >  		j++;
> >  	}
> >   
> 
> Acked-by: Dan Murphy <dmurphy@ti.com>
> 
Applied, thanks,

Jonathan



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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-07  9:39 [PATCH] iio: adc: ads124s08: fix spelling mistake "converions" -> "conversions" Colin King
2019-02-07 13:14 ` Dan Murphy
2019-02-09 17:02   ` Jonathan Cameron

Linux-IIO Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-iio/0 linux-iio/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-iio linux-iio/ https://lore.kernel.org/linux-iio \
		linux-iio@vger.kernel.org linux-iio@archiver.kernel.org
	public-inbox-index linux-iio


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-iio


AGPL code for this site: git clone https://public-inbox.org/ public-inbox