Skip to content

Commit cb4417f

Browse files
committed
iio:dac:mcp4725 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>
1 parent 5247362 commit cb4417f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/iio/dac/mcp4725.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ static const struct iio_chan_spec mcp4725_channel = {
209209
.channel = 0,
210210
.info_mask_separate = BIT(IIO_CHAN_INFO_RAW),
211211
.info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE),
212-
.scan_type = IIO_ST('u', 12, 16, 0),
213212
.ext_info = mcp4725_ext_info,
214213
};
215214

0 commit comments

Comments
 (0)