mirror of https://gitee.com/openkylin/linux.git
iio:dac:max517 drop specification of scan type as unused in this driver.
IIO_ST is going away as it is a pain to maintain so the simplest path with this driver is to not specify the unused scan type. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Acked-by: Lars-Peter Clausen <lars@metafoo.de>
This commit is contained in:
parent
cb9d90f1e3
commit
5247362453
|
@ -146,7 +146,6 @@ static const struct iio_info max517_info = {
|
||||||
.channel = (chan), \
|
.channel = (chan), \
|
||||||
.info_mask_separate = BIT(IIO_CHAN_INFO_RAW) | \
|
.info_mask_separate = BIT(IIO_CHAN_INFO_RAW) | \
|
||||||
BIT(IIO_CHAN_INFO_SCALE), \
|
BIT(IIO_CHAN_INFO_SCALE), \
|
||||||
.scan_type = IIO_ST('u', 8, 8, 0), \
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct iio_chan_spec max517_channels[] = {
|
static const struct iio_chan_spec max517_channels[] = {
|
||||||
|
|
Loading…
Reference in New Issue