From: Fabrice Gasnier Date: Mon, 10 Jul 2017 13:23:58 +0000 (+0200) Subject: iio: dac: stm32: fix error message X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0c1a1b6cba85de405cd4c656f8bd65e54724a3cb;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git iio: dac: stm32: fix error message Fix error message, there's no 'st,dac-channel' property, but 'reg' (see https://lkml.org/lkml/2017/4/3/567). Signed-off-by: Fabrice Gasnier Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/dac/stm32-dac.c b/drivers/iio/dac/stm32-dac.c index 50f8ec091058..c1864e8aa851 100644 --- a/drivers/iio/dac/stm32-dac.c +++ b/drivers/iio/dac/stm32-dac.c @@ -268,7 +268,7 @@ static int stm32_dac_chan_of_init(struct iio_dev *indio_dev) break; } if (i >= ARRAY_SIZE(stm32_dac_channels)) { - dev_err(&indio_dev->dev, "Invalid st,dac-channel\n"); + dev_err(&indio_dev->dev, "Invalid reg property\n"); return -EINVAL; }