提交 ce420fd4 编写于 作者: P Pavel Roskin 提交者: Jonathan Cameron

iio: dac: ad7303: fix channel description

realbits, storagebits and shift should be numbers, not ASCII characters.
Signed-off-by: NPavel Roskin <plroskin@gmail.com>
Reviewed-by: NLars-Peter Clausen <lars@metafoo.de>
Cc: <Stable@vger.kernel.org>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 77a9febf
...@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册