summaryrefslogtreecommitdiff
path: root/drivers/iio/temperature/tmp007.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 19:26:07 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-23 00:14:52 +0300
commit5e42916ad9e97067b4c9c430229479f9a6a3a3d4 (patch)
treefb675d872e6a0e2788bca6b6c1de801ee4abe9ce /drivers/iio/temperature/tmp007.c
parenta62e256b1438e3d43293bc71fd0ebb064cb0c51d (diff)
downloadlinux-5e42916ad9e97067b4c9c430229479f9a6a3a3d4.tar.xz
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/tmp007.c')
-rw-r--r--drivers/iio/temperature/tmp007.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/temperature/tmp007.c b/drivers/iio/temperature/tmp007.c
index 0615324d054c..0e3f2d432e10 100644
--- a/drivers/iio/temperature/tmp007.c
+++ b/drivers/iio/temperature/tmp007.c
@@ -426,7 +426,6 @@ static const struct iio_info tmp007_info = {
.read_event_value = tmp007_read_thresh,
.write_event_value = tmp007_write_thresh,
.attrs = &tmp007_attribute_group,
- .driver_module = THIS_MODULE,
};
static bool tmp007_identify(struct i2c_client *client)