diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 17:26:01 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 21:32:52 +0100 |
commit | 7f307262af08e842297561ef7afd3cce248b258a (patch) | |
tree | 43cb8e485ca95630f530a9e6767bdc0b23290093 /drivers/iio/magnetometer/hid-sensor-magn-3d.c | |
parent | 4166b47c2b4ae38496a6871b3560677705f8edea (diff) | |
download | lwn-7f307262af08e842297561ef7afd3cce248b258a.tar.gz lwn-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/hid-sensor-magn-3d.c')
-rw-r--r-- | drivers/iio/magnetometer/hid-sensor-magn-3d.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/magnetometer/hid-sensor-magn-3d.c b/drivers/iio/magnetometer/hid-sensor-magn-3d.c index 0e791b02ed4a..a1fd9d591818 100644 --- a/drivers/iio/magnetometer/hid-sensor-magn-3d.c +++ b/drivers/iio/magnetometer/hid-sensor-magn-3d.c @@ -282,7 +282,6 @@ static int magn_3d_write_raw(struct iio_dev *indio_dev, } static const struct iio_info magn_3d_info = { - .driver_module = THIS_MODULE, .read_raw = &magn_3d_read_raw, .write_raw = &magn_3d_write_raw, }; |