summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/sca3000.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 17:25:48 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-22 21:22:40 +0100
commit6c5bffa80ecae54c3ddd113eb4d93382503989be (patch)
treed5b3aa985de5d2477f0156d30823eb0877f58e4a /drivers/iio/accel/sca3000.c
parent52b31bcc9372f2925f4898d179c655687c4aa179 (diff)
downloadlinux-stable-6c5bffa80ecae54c3ddd113eb4d93382503989be.tar.gz
linux-stable-6c5bffa80ecae54c3ddd113eb4d93382503989be.tar.bz2
linux-stable-6c5bffa80ecae54c3ddd113eb4d93382503989be.zip
iio:accel: 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/accel/sca3000.c')
-rw-r--r--drivers/iio/accel/sca3000.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/accel/sca3000.c b/drivers/iio/accel/sca3000.c
index 39ab210c44f6..f33dadf7b262 100644
--- a/drivers/iio/accel/sca3000.c
+++ b/drivers/iio/accel/sca3000.c
@@ -1454,7 +1454,6 @@ static const struct iio_info sca3000_info = {
.write_event_value = &sca3000_write_event_value,
.read_event_config = &sca3000_read_event_config,
.write_event_config = &sca3000_write_event_config,
- .driver_module = THIS_MODULE,
};
static int sca3000_probe(struct spi_device *spi)