diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 17:25:59 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 21:31:01 +0100 |
commit | 79978a9bd02b0c2fcf6e8485dcb5ef7ee34f1adb (patch) | |
tree | c3256f7e287b5e4fbd5c1963a69faf0d4f5825b3 /drivers/iio/imu/adis16480.c | |
parent | 13a8c6c2a1138309dcf7744cb4db7aea54d8085a (diff) | |
download | linux-79978a9bd02b0c2fcf6e8485dcb5ef7ee34f1adb.tar.gz linux-79978a9bd02b0c2fcf6e8485dcb5ef7ee34f1adb.tar.bz2 linux-79978a9bd02b0c2fcf6e8485dcb5ef7ee34f1adb.zip |
iio:imu: 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/imu/adis16480.c')
-rw-r--r-- | drivers/iio/imu/adis16480.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/imu/adis16480.c b/drivers/iio/imu/adis16480.c index 8cf84d3488b2..440c1580160c 100644 --- a/drivers/iio/imu/adis16480.c +++ b/drivers/iio/imu/adis16480.c @@ -720,7 +720,6 @@ static const struct iio_info adis16480_info = { .read_raw = &adis16480_read_raw, .write_raw = &adis16480_write_raw, .update_scan_mode = adis_update_scan_mode, - .driver_module = THIS_MODULE, }; static int adis16480_stop_device(struct iio_dev *indio_dev) |