summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2013-12-11 18:45:00 +0000
committerJonathan Cameron <jic23@kernel.org>2013-12-17 21:07:37 +0000
commit5247362453879e9829305be82d061f520d7d7e45 (patch)
treecddfccbec48870a47e402adbac37f012aafaf205 /drivers/iio
parentcb9d90f1e31703e8be427397c024f55a14ee6528 (diff)
downloadop-kernel-dev-5247362453879e9829305be82d061f520d7d7e45.zip
op-kernel-dev-5247362453879e9829305be82d061f520d7d7e45.tar.gz
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 6e19035..de76e6a 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[] = {
OpenPOWER on IntegriCloud