summaryrefslogtreecommitdiff
path: root/drivers/iio/pressure/mpl3115.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 19:26:05 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-22 23:35:27 +0300
commit6a15fef2cb4b75cb8101f6359ca364bc3ffcccca (patch)
treeeec7d3e0a057d463e3c4af212b642584d482afa5 /drivers/iio/pressure/mpl3115.c
parentc64fdf0fe943bedfa8f6de07aec907b15436a5be (diff)
downloadlinux-6a15fef2cb4b75cb8101f6359ca364bc3ffcccca.tar.xz
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/mpl3115.c')
-rw-r--r--drivers/iio/pressure/mpl3115.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/pressure/mpl3115.c b/drivers/iio/pressure/mpl3115.c
index 619b963714c7..7537547fb7ee 100644
--- a/drivers/iio/pressure/mpl3115.c
+++ b/drivers/iio/pressure/mpl3115.c
@@ -218,7 +218,6 @@ static const struct iio_chan_spec mpl3115_channels[] = {
static const struct iio_info mpl3115_info = {
.read_raw = &mpl3115_read_raw,
- .driver_module = THIS_MODULE,
};
static int mpl3115_probe(struct i2c_client *client,