staging:iio:gyro:adis16060 drop assign iio_info.driver_module
authorJonathan Cameron <jic23@kernel.org>
Sun, 23 Jul 2017 16:26:13 +0000 (17:26 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Aug 2017 21:14:55 +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/gyro/adis16060_core.c

index 967524583d8ae707c131de74530845b4125106d0..4e7630caf7d360e30ea90c95f801af21b5ab5bf6 100644 (file)
@@ -103,7 +103,6 @@ static int adis16060_read_raw(struct iio_dev *indio_dev,
 
 static const struct iio_info adis16060_info = {
        .read_raw = adis16060_read_raw,
-       .driver_module = THIS_MODULE,
 };
 
 static const struct iio_chan_spec adis16060_channels[] = {