projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed5c468
)
iio: dac: stm32: fix error message
author
Fabrice Gasnier
<fabrice.gasnier@st.com>
Mon, 10 Jul 2017 13:23:58 +0000
(15:23 +0200)
committer
Jonathan Cameron
<Jonathan.Cameron@huawei.com>
Sat, 15 Jul 2017 11:26:23 +0000
(12:26 +0100)
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>
drivers/iio/dac/stm32-dac.c
patch
|
blob
|
history
diff --git
a/drivers/iio/dac/stm32-dac.c
b/drivers/iio/dac/stm32-dac.c
index 50f8ec091058bc1f9b602b77ace89302c8a3e61a..c1864e8aa851f6040250407d5260d6a4c80fbcbb 100644
(file)
--- 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;
}