Browse Source

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>
Jonathan Cameron 11 years ago
parent
commit
cb4417f9db
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/iio/dac/mcp4725.c

+ 0 - 1
drivers/iio/dac/mcp4725.c

@@ -209,7 +209,6 @@ static const struct iio_chan_spec mcp4725_channel = {
 	.channel	= 0,
 	.info_mask_separate = BIT(IIO_CHAN_INFO_RAW),
 	.info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE),
-	.scan_type	= IIO_ST('u', 12, 16, 0),
 	.ext_info	= mcp4725_ext_info,
 };