Skip to content

Commit

Permalink
iio: dac: ad7303: fix channel description
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pavel Roskin authored and Jonathan Cameron committed Apr 14, 2017
1 parent 77a9feb commit ce420fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/iio/dac/ad7303.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ static const struct iio_chan_spec_ext_info ad7303_ext_info[] = {
.address = (chan), \
.scan_type = { \
.sign = 'u', \
.realbits = '8', \
.storagebits = '8', \
.shift = '0', \
.realbits = 8, \
.storagebits = 8, \
.shift = 0, \
}, \
.ext_info = ad7303_ext_info, \
}
Expand Down

0 comments on commit ce420fd

Please sign in to comment.