summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/ad7949.c
diff options
context:
space:
mode:
authorThorsten Scherer <t.scherer@eckelmann.de>2022-07-08 22:17:20 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-07-16 18:50:24 +0100
commit6edac2daa954e9da32f36a6c927a2d2bd956308b (patch)
tree28bc918ad7af5bcf31acda40bde4ea2c0465cd7d /drivers/iio/adc/ad7949.c
parente1d965cebe82e59e6a4c0cf115e5dbd7a9a0d9e5 (diff)
downloadlinux-6edac2daa954e9da32f36a6c927a2d2bd956308b.tar.gz
linux-6edac2daa954e9da32f36a6c927a2d2bd956308b.tar.bz2
linux-6edac2daa954e9da32f36a6c927a2d2bd956308b.zip
iio: adc: ad7949: Fix error message
Signed-off-by: Thorsten Scherer <t.scherer@eckelmann.de> Reviewed-by: Liam Beguin <liambeguin@gmail.com> Link: https://lore.kernel.org/r/20220708201720.16523-1-t.scherer@eckelmann.de Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/ad7949.c')
-rw-r--r--drivers/iio/adc/ad7949.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/ad7949.c b/drivers/iio/adc/ad7949.c
index ed4c1656ca75..edd0c3a35ab7 100644
--- a/drivers/iio/adc/ad7949.c
+++ b/drivers/iio/adc/ad7949.c
@@ -400,7 +400,7 @@ static int ad7949_spi_probe(struct spi_device *spi)
ret = ad7949_spi_init(ad7949_adc);
if (ret) {
- dev_err(dev, "enable to init this device: %d\n", ret);
+ dev_err(dev, "fail to init this device: %d\n", ret);
return ret;
}