summaryrefslogtreecommitdiffstats
path: root/drivers/iio/temperature/mlx90614.c
diff options
context:
space:
mode:
authorJonathan Cameron2017-07-23 18:26:07 +0200
committerJonathan Cameron2017-08-22 23:14:52 +0200
commit5e42916ad9e97067b4c9c430229479f9a6a3a3d4 (patch)
treefb675d872e6a0e2788bca6b6c1de801ee4abe9ce /drivers/iio/temperature/mlx90614.c
parentiio:proximity: drop assign iio_info.driver_module and iio_trigger_ops.owner (diff)
downloadkernel-qcow2-linux-5e42916ad9e97067b4c9c430229479f9a6a3a3d4.tar.gz
kernel-qcow2-linux-5e42916ad9e97067b4c9c430229479f9a6a3a3d4.tar.xz
kernel-qcow2-linux-5e42916ad9e97067b4c9c430229479f9a6a3a3d4.zip
iio:temperature: drop assignment of iio_info.driver_module
The equivalent of this is now done via macro magic when the relevant register call is 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/temperature/mlx90614.c')
-rw-r--r--drivers/iio/temperature/mlx90614.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/temperature/mlx90614.c b/drivers/iio/temperature/mlx90614.c
index 2077eef4095c..d619e8634a00 100644
--- a/drivers/iio/temperature/mlx90614.c
+++ b/drivers/iio/temperature/mlx90614.c
@@ -400,7 +400,6 @@ static const struct iio_info mlx90614_info = {
.write_raw = mlx90614_write_raw,
.write_raw_get_fmt = mlx90614_write_raw_get_fmt,
.attrs = &mlx90614_attr_group,
- .driver_module = THIS_MODULE,
};
#ifdef CONFIG_PM