diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 17:26:04 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 21:34:48 +0100 |
commit | c64fdf0fe943bedfa8f6de07aec907b15436a5be (patch) | |
tree | caeb7035119659ab4a61c91c9875829dc57b10d9 /drivers/iio/potentiostat | |
parent | 6d9d020da55dfb1780ba787924f4cd92c69105f5 (diff) | |
download | linux-c64fdf0fe943bedfa8f6de07aec907b15436a5be.tar.gz linux-c64fdf0fe943bedfa8f6de07aec907b15436a5be.tar.bz2 linux-c64fdf0fe943bedfa8f6de07aec907b15436a5be.zip |
iio:potentiostat:lmp91000 drop assign iio_info.driver_module and iio_trigger_ops.owner
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>
Diffstat (limited to 'drivers/iio/potentiostat')
-rw-r--r-- | drivers/iio/potentiostat/lmp91000.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/potentiostat/lmp91000.c b/drivers/iio/potentiostat/lmp91000.c index afa8de3418d0..007710991f15 100644 --- a/drivers/iio/potentiostat/lmp91000.c +++ b/drivers/iio/potentiostat/lmp91000.c @@ -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, }; |