diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 18:26:05 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 22:35:27 +0200 |
commit | 6a15fef2cb4b75cb8101f6359ca364bc3ffcccca (patch) | |
tree | eec7d3e0a057d463e3c4af212b642584d482afa5 /drivers/iio/pressure/abp060mg.c | |
parent | iio:potentiostat:lmp91000 drop assign iio_info.driver_module and iio_trigger_... (diff) | |
download | linux-6a15fef2cb4b75cb8101f6359ca364bc3ffcccca.tar.xz linux-6a15fef2cb4b75cb8101f6359ca364bc3ffcccca.zip |
iio:pressure: 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/pressure/abp060mg.c')
-rw-r--r-- | drivers/iio/pressure/abp060mg.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/pressure/abp060mg.c b/drivers/iio/pressure/abp060mg.c index 43bdd0b9155f..46a220c70d6a 100644 --- a/drivers/iio/pressure/abp060mg.c +++ b/drivers/iio/pressure/abp060mg.c @@ -168,7 +168,6 @@ static int abp060mg_read_raw(struct iio_dev *indio_dev, } static const struct iio_info abp060mg_info = { - .driver_module = THIS_MODULE, .read_raw = abp060mg_read_raw, }; |