]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging:iio:ad5933: drop assign iio_info.driver_module
authorJonathan Cameron <jic23@kernel.org>
Sun, 23 Jul 2017 16:26:14 +0000 (17:26 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Aug 2017 21:14:56 +0000 (22:14 +0100)
The equivalent of this is now done via macro magic when
the relevant register call is made.  The actual structure
elements will shortly go away.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
drivers/staging/iio/impedance-analyzer/ad5933.c

index 3d539eeb0e26a3ef0867c2d419a57171332c1775..2b28fb9c0048e6c56e4b2c80c67f7e51c997c07b 100644 (file)
@@ -575,7 +575,6 @@ static int ad5933_read_raw(struct iio_dev *indio_dev,
 static const struct iio_info ad5933_info = {
        .read_raw = ad5933_read_raw,
        .attrs = &ad5933_attribute_group,
-       .driver_module = THIS_MODULE,
 };
 
 static int ad5933_ring_preenable(struct iio_dev *indio_dev)