Commit fc4e0c97 authored by Colin Ian King's avatar Colin Ian King Committed by Jonathan Cameron

iio: adc: ads124s08: fix spelling mistake "converions" -> "conversions"

There is a spelling mistake in several dev_err messages. Fix these.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarDan Murphy <dmurphy@ti.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 2ea8bab4
...@@ -232,7 +232,7 @@ static int ads124s_read_raw(struct iio_dev *indio_dev, ...@@ -232,7 +232,7 @@ static int ads124s_read_raw(struct iio_dev *indio_dev,
ret = ads124s_write_cmd(indio_dev, ADS124S08_START_CONV); ret = ads124s_write_cmd(indio_dev, ADS124S08_START_CONV);
if (ret) { if (ret) {
dev_err(&priv->spi->dev, "Start converions failed\n"); dev_err(&priv->spi->dev, "Start conversions failed\n");
goto out; goto out;
} }
...@@ -246,7 +246,7 @@ static int ads124s_read_raw(struct iio_dev *indio_dev, ...@@ -246,7 +246,7 @@ static int ads124s_read_raw(struct iio_dev *indio_dev,
ret = ads124s_write_cmd(indio_dev, ADS124S08_STOP_CONV); ret = ads124s_write_cmd(indio_dev, ADS124S08_STOP_CONV);
if (ret) { if (ret) {
dev_err(&priv->spi->dev, "Stop converions failed\n"); dev_err(&priv->spi->dev, "Stop conversions failed\n");
goto out; goto out;
} }
...@@ -283,12 +283,12 @@ static irqreturn_t ads124s_trigger_handler(int irq, void *p) ...@@ -283,12 +283,12 @@ static irqreturn_t ads124s_trigger_handler(int irq, void *p)
ret = ads124s_write_cmd(indio_dev, ADS124S08_START_CONV); ret = ads124s_write_cmd(indio_dev, ADS124S08_START_CONV);
if (ret) 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); buffer[j] = ads124s_read(indio_dev, scan_index);
ret = ads124s_write_cmd(indio_dev, ADS124S08_STOP_CONV); ret = ads124s_write_cmd(indio_dev, ADS124S08_STOP_CONV);
if (ret) if (ret)
dev_err(&priv->spi->dev, "Stop ADC converions failed\n"); dev_err(&priv->spi->dev, "Stop ADC conversions failed\n");
j++; j++;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment