]> git.baikalelectronics.ru Git - kernel.git/commitdiff
iio: adc: ad7949: Fix error message
authorThorsten Scherer <t.scherer@eckelmann.de>
Fri, 8 Jul 2022 20:17:20 +0000 (22:17 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 16 Jul 2022 17:50:24 +0000 (18:50 +0100)
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>
drivers/iio/adc/ad7949.c

index ed4c1656ca75d4ec39b297e8d264c32ef11ea2a7..edd0c3a35ab73cca5ff87632e4d588eb5d712b47 100644 (file)
@@ -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;
        }