diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 18:25:48 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 22:22:40 +0200 |
commit | 6c5bffa80ecae54c3ddd113eb4d93382503989be (patch) | |
tree | d5b3aa985de5d2477f0156d30823eb0877f58e4a /drivers/iio/accel/mxc4005.c | |
parent | iio:adc: drop assign iio_info.driver_module and iio_trigger_ops.owner (diff) | |
download | linux-6c5bffa80ecae54c3ddd113eb4d93382503989be.tar.xz 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/mxc4005.c')
-rw-r--r-- | drivers/iio/accel/mxc4005.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/accel/mxc4005.c b/drivers/iio/accel/mxc4005.c index c23f47af7256..58099e40d717 100644 --- a/drivers/iio/accel/mxc4005.c +++ b/drivers/iio/accel/mxc4005.c @@ -264,7 +264,6 @@ static int mxc4005_write_raw(struct iio_dev *indio_dev, } static const struct iio_info mxc4005_info = { - .driver_module = THIS_MODULE, .read_raw = mxc4005_read_raw, .write_raw = mxc4005_write_raw, .attrs = &mxc4005_attrs_group, @@ -376,7 +375,6 @@ static int mxc4005_trigger_try_reen(struct iio_trigger *trig) static const struct iio_trigger_ops mxc4005_trigger_ops = { .set_trigger_state = mxc4005_set_trigger_state, .try_reenable = mxc4005_trigger_try_reen, - .owner = THIS_MODULE, }; static int mxc4005_chip_init(struct mxc4005_data *data) |