summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2013-12-11 19:45:00 +0100
committerJonathan Cameron <jic23@kernel.org>2013-12-17 22:07:37 +0100
commit5247362453879e9829305be82d061f520d7d7e45 (patch)
treecddfccbec48870a47e402adbac37f012aafaf205 /drivers/iio
parentiio:dac:ad5791 replaces IIO_ST macro with explicit entries to struct scan_type (diff)
downloadlinux-5247362453879e9829305be82d061f520d7d7e45.tar.xz
linux-5247362453879e9829305be82d061f520d7d7e45.zip
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>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/dac/max517.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/dac/max517.c b/drivers/iio/dac/max517.c
index 6e1903537950..de76e6a34c1e 100644
--- a/drivers/iio/dac/max517.c
+++ b/drivers/iio/dac/max517.c
@@ -146,7 +146,6 @@ static const struct iio_info max517_info = {
.channel = (chan), \
.info_mask_separate = BIT(IIO_CHAN_INFO_RAW) | \
BIT(IIO_CHAN_INFO_SCALE), \
- .scan_type = IIO_ST('u', 8, 8, 0), \
}
static const struct iio_chan_spec max517_channels[] = {