Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce420fd4 authored by Pavel Roskin's avatar Pavel Roskin Committed by Jonathan Cameron
Browse files

iio: dac: ad7303: fix channel description



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>
Cc: <Stable@vger.kernel.org>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 77a9febf
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -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,				\
}
}