iio:dummy: drop assignment of iio_info.driver_module
authorJonathan Cameron <jic23@kernel.org>
Sun, 23 Jul 2017 16:25:54 +0000 (17:25 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Aug 2017 20:27:45 +0000 (21:27 +0100)
The equivalent is now done via macro magic when
the relevant register call is made.  The actual structure
element will shortly go away.

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

index ad3410e..a45d01e 100644 (file)
@@ -519,7 +519,6 @@ static int iio_dummy_write_raw(struct iio_dev *indio_dev,
  * Device type specific information.
  */
 static const struct iio_info iio_dummy_info = {
-       .driver_module = THIS_MODULE,
        .read_raw = &iio_dummy_read_raw,
        .write_raw = &iio_dummy_write_raw,
 #ifdef CONFIG_IIO_SIMPLE_DUMMY_EVENTS