summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/ti-ads7950.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2019-12-04 07:45:35 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-12-15 12:42:17 +0100
commit32bd4324601dc15a205f2b734e67ee5fd740ee66 (patch)
treec7c214562f546988add1173c8187c507f903dd86 /drivers/iio/adc/ti-ads7950.c
parentiio: humidity: hts221: move register definitions to sensor structs (diff)
downloadlinux-32bd4324601dc15a205f2b734e67ee5fd740ee66.tar.xz
linux-32bd4324601dc15a205f2b734e67ee5fd740ee66.zip
iio: adc: ti-ads7950: Fix a typo in an error message
Fix a typo: s/get get/to get/ Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/ti-ads7950.c')
-rw-r--r--drivers/iio/adc/ti-ads7950.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/ti-ads7950.c b/drivers/iio/adc/ti-ads7950.c
index 2e66e4d586ff..f9edc1207f75 100644
--- a/drivers/iio/adc/ti-ads7950.c
+++ b/drivers/iio/adc/ti-ads7950.c
@@ -602,7 +602,7 @@ static int ti_ads7950_probe(struct spi_device *spi)
st->reg = devm_regulator_get(&spi->dev, "vref");
if (IS_ERR(st->reg)) {
- dev_err(&spi->dev, "Failed get get regulator \"vref\"\n");
+ dev_err(&spi->dev, "Failed to get regulator \"vref\"\n");
ret = PTR_ERR(st->reg);
goto error_destroy_mutex;
}