diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2017-07-10 15:23:58 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-07-15 12:26:23 +0100 |
commit | 0c1a1b6cba85de405cd4c656f8bd65e54724a3cb (patch) | |
tree | e17ed9f47e998356db6618009f33b99740127876 /drivers | |
parent | ed5c46880bf239d06b7710c3fba75f7ea98e1b1c (diff) | |
download | op-kernel-dev-0c1a1b6cba85de405cd4c656f8bd65e54724a3cb.zip op-kernel-dev-0c1a1b6cba85de405cd4c656f8bd65e54724a3cb.tar.gz |
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 <fabrice.gasnier@st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/iio/dac/stm32-dac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/dac/stm32-dac.c b/drivers/iio/dac/stm32-dac.c index 50f8ec0..c1864e8 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; } |