summaryrefslogtreecommitdiff
path: root/drivers/iio/potentiometer/max5487.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 17:26:03 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-22 21:34:10 +0100
commit6d9d020da55dfb1780ba787924f4cd92c69105f5 (patch)
tree77757a44a21471854f3cc75f613443e015842123 /drivers/iio/potentiometer/max5487.c
parent1b449a72580e8c97ae0cef3efcfa18e9ca438693 (diff)
iio:dpot: drop assign 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/potentiometer/max5487.c')
-rw-r--r--drivers/iio/potentiometer/max5487.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/potentiometer/max5487.c b/drivers/iio/potentiometer/max5487.c
index 6c50939a2e83..ec1a91a0a391 100644
--- a/drivers/iio/potentiometer/max5487.c
+++ b/drivers/iio/potentiometer/max5487.c
@@ -83,7 +83,6 @@ static int max5487_write_raw(struct iio_dev *indio_dev,
static const struct iio_info max5487_info = {
.read_raw = max5487_read_raw,
.write_raw = max5487_write_raw,
- .driver_module = THIS_MODULE,
};
static int max5487_spi_probe(struct spi_device *spi)