Commit cc7026a2 authored by Pavel Roskin's avatar Pavel Roskin Committed by Ben Hutchings

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 avatarBen Hutchings <ben@decadent.org.uk>
parent c2e9149e
...@@ -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