summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/mc3230.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/mc3230.c
parent52b31bcc9372f2925f4898d179c655687c4aa179 (diff)
downloadtalos-obmc-linux-6c5bffa80ecae54c3ddd113eb4d93382503989be.tar.gz
talos-obmc-linux-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/mc3230.c')
-rw-r--r--drivers/iio/accel/mc3230.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/accel/mc3230.c b/drivers/iio/accel/mc3230.c
index 4ea2ff623a6d..8b11604eed63 100644
--- a/drivers/iio/accel/mc3230.c
+++ b/drivers/iio/accel/mc3230.c
@@ -107,7 +107,6 @@ static int mc3230_read_raw(struct iio_dev *indio_dev,
}
static const struct iio_info mc3230_info = {
- .driver_module = THIS_MODULE,
.read_raw = mc3230_read_raw,
};
OpenPOWER on IntegriCloud