summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/max517.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2013-12-11 22:45:00 +0400
committerJonathan Cameron <jic23@kernel.org>2013-12-18 01:07:37 +0400
commit5247362453879e9829305be82d061f520d7d7e45 (patch)
treecddfccbec48870a47e402adbac37f012aafaf205 /drivers/iio/dac/max517.c
parentcb9d90f1e31703e8be427397c024f55a14ee6528 (diff)
downloadlinux-5247362453879e9829305be82d061f520d7d7e45.tar.xz
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/dac/max517.c')
-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[] = {