summaryrefslogtreecommitdiffstats
path: root/drivers/iio/magnetometer/ak8974.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 18:26:01 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-22 22:32:52 +0200
commit7f307262af08e842297561ef7afd3cce248b258a (patch)
tree43cb8e485ca95630f530a9e6767bdc0b23290093 /drivers/iio/magnetometer/ak8974.c
parentiio:light: drop assign iio_info.driver_module and iio_trigger_ops.owner (diff)
downloadlinux-7f307262af08e842297561ef7afd3cce248b258a.tar.xz
linux-7f307262af08e842297561ef7afd3cce248b258a.zip
iio:magnetometer: 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/magnetometer/ak8974.c')
-rw-r--r--drivers/iio/magnetometer/ak8974.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/magnetometer/ak8974.c b/drivers/iio/magnetometer/ak8974.c
index 0bff76e96950..93be1f4c0f27 100644
--- a/drivers/iio/magnetometer/ak8974.c
+++ b/drivers/iio/magnetometer/ak8974.c
@@ -658,7 +658,6 @@ static const unsigned long ak8974_scan_masks[] = { 0x7, 0 };
static const struct iio_info ak8974_info = {
.read_raw = &ak8974_read_raw,
- .driver_module = THIS_MODULE,
};
static bool ak8974_writeable_reg(struct device *dev, unsigned int reg)