summaryrefslogtreecommitdiffstats
path: root/drivers/iio/pressure/mpl115.c
diff options
context:
space:
mode:
authorJonathan Cameron2017-07-23 18:26:05 +0200
committerJonathan Cameron2017-08-22 22:35:27 +0200
commit6a15fef2cb4b75cb8101f6359ca364bc3ffcccca (patch)
treeeec7d3e0a057d463e3c4af212b642584d482afa5 /drivers/iio/pressure/mpl115.c
parentiio:potentiostat:lmp91000 drop assign iio_info.driver_module and iio_trigger_... (diff)
downloadkernel-qcow2-linux-6a15fef2cb4b75cb8101f6359ca364bc3ffcccca.tar.gz
kernel-qcow2-linux-6a15fef2cb4b75cb8101f6359ca364bc3ffcccca.tar.xz
kernel-qcow2-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/mpl115.c')
-rw-r--r--drivers/iio/pressure/mpl115.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/pressure/mpl115.c b/drivers/iio/pressure/mpl115.c
index 8f2bce213248..ab4786d0102b 100644
--- a/drivers/iio/pressure/mpl115.c
+++ b/drivers/iio/pressure/mpl115.c
@@ -144,7 +144,6 @@ static const struct iio_chan_spec mpl115_channels[] = {
static const struct iio_info mpl115_info = {
.read_raw = &mpl115_read_raw,
- .driver_module = THIS_MODULE,
};
int mpl115_probe(struct device *dev, const char *name,