diff options
author | Jonathan Cameron <jic23@kernel.org> | 2013-12-11 13:45:00 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-12-17 16:08:19 -0500 |
commit | cb4417f9db0e386b918d3c2dcfdbdacb513b852a (patch) | |
tree | b9b269bc8373eba4373579ae50d1b15664b5d205 | |
parent | 5247362453879e9829305be82d061f520d7d7e45 (diff) |
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>
-rw-r--r-- | drivers/iio/dac/mcp4725.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/dac/mcp4725.c b/drivers/iio/dac/mcp4725.c index 9f57ae84ab89..7d9f5c31d2fc 100644 --- a/drivers/iio/dac/mcp4725.c +++ b/drivers/iio/dac/mcp4725.c | |||
@@ -209,7 +209,6 @@ static const struct iio_chan_spec mcp4725_channel = { | |||
209 | .channel = 0, | 209 | .channel = 0, |
210 | .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), | 210 | .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), |
211 | .info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE), | 211 | .info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE), |
212 | .scan_type = IIO_ST('u', 12, 16, 0), | ||
213 | .ext_info = mcp4725_ext_info, | 212 | .ext_info = mcp4725_ext_info, |
214 | }; | 213 | }; |
215 | 214 | ||