Commit 060d2642 authored by Pavel Roskin's avatar Pavel Roskin Committed by Greg Kroah-Hartman

iio: dac: ad7303: fix channel description

commit ce420fd4 upstream.

realbits, storagebits and shift should be numbers, not ASCII characters.
Signed-off-by: default avatarPavel Roskin <plroskin@gmail.com>
Reviewed-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 14323b73
...@@ -184,9 +184,9 @@ static const struct iio_chan_spec_ext_info ad7303_ext_info[] = { ...@@ -184,9 +184,9 @@ static const struct iio_chan_spec_ext_info ad7303_ext_info[] = {
.address = (chan), \ .address = (chan), \
.scan_type = { \ .scan_type = { \
.sign = 'u', \ .sign = 'u', \
.realbits = '8', \ .realbits = 8, \
.storagebits = '8', \ .storagebits = 8, \
.shift = '0', \ .shift = 0, \
}, \ }, \
.ext_info = ad7303_ext_info, \ .ext_info = ad7303_ext_info, \
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment