iio: dac: ad7303: fix channel description

realbits, storagebits and shift should be numbers, not ASCII characters.

Signed-off-by: Pavel Roskin <plroskin@gmail.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
Pavel Roskin 2017-04-13 14:54:23 -07:00 committed by Jonathan Cameron
parent 77a9febfd8
commit ce420fd425

View File

@ -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, \
} }