iio:potentiostat:lmp91000 drop assign iio_info.driver_module and iio_trigger_ops...
authorJonathan Cameron <jic23@kernel.org>
Sun, 23 Jul 2017 16:26:04 +0000 (17:26 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Aug 2017 20:34:48 +0000 (21:34 +0100)
The equivalent of both of these are now done via macro magic when
the relevant register calls are 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/iio/potentiostat/lmp91000.c

index afa8de3418d01327f68f8398468083cb70013926..007710991f1507cc4e52fabf2691b6b1b844b8a4 100644 (file)
@@ -207,7 +207,6 @@ static int lmp91000_read_raw(struct iio_dev *indio_dev,
 }
 
 static const struct iio_info lmp91000_info = {
-       .driver_module = THIS_MODULE,
        .read_raw = lmp91000_read_raw,
 };
 
@@ -283,7 +282,6 @@ static int lmp91000_buffer_cb(const void *val, void *private)
 }
 
 static const struct iio_trigger_ops lmp91000_trigger_ops = {
-       .owner = THIS_MODULE,
 };