]> Pileus Git - ~andy/linux/commitdiff
iio:dac:max517 drop specification of scan type as unused in this driver.
authorJonathan Cameron <jic23@kernel.org>
Wed, 11 Dec 2013 18:45:00 +0000 (18:45 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 17 Dec 2013 21:07:37 +0000 (21:07 +0000)
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>
drivers/iio/dac/max517.c

index 6e1903537950d966ac1ed385497c1ae6b795d6b0..de76e6a34c1ea9db7922a0147b09bf8703bdd845 100644 (file)
@@ -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[] = {