summaryrefslogtreecommitdiffstats
path: root/drivers/iio/temperature/maxim_thermocouple.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 17:26:07 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-22 22:14:52 +0100
commit5e42916ad9e97067b4c9c430229479f9a6a3a3d4 (patch)
treefb675d872e6a0e2788bca6b6c1de801ee4abe9ce /drivers/iio/temperature/maxim_thermocouple.c
parenta62e256b1438e3d43293bc71fd0ebb064cb0c51d (diff)
downloadtalos-op-linux-5e42916ad9e97067b4c9c430229479f9a6a3a3d4.tar.gz
talos-op-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/maxim_thermocouple.c')
-rw-r--r--drivers/iio/temperature/maxim_thermocouple.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/temperature/maxim_thermocouple.c b/drivers/iio/temperature/maxim_thermocouple.c
index d70e2e53d6a7..e8b7e0b6c8ad 100644
--- a/drivers/iio/temperature/maxim_thermocouple.c
+++ b/drivers/iio/temperature/maxim_thermocouple.c
@@ -208,7 +208,6 @@ static int maxim_thermocouple_read_raw(struct iio_dev *indio_dev,
}
static const struct iio_info maxim_thermocouple_info = {
- .driver_module = THIS_MODULE,
.read_raw = maxim_thermocouple_read_raw,
};
OpenPOWER on IntegriCloud