summaryrefslogtreecommitdiffstats
path: root/drivers/iio/imu/adis16400_core.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 17:25:59 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-22 21:31:01 +0100
commit79978a9bd02b0c2fcf6e8485dcb5ef7ee34f1adb (patch)
treec3256f7e287b5e4fbd5c1963a69faf0d4f5825b3 /drivers/iio/imu/adis16400_core.c
parent13a8c6c2a1138309dcf7744cb4db7aea54d8085a (diff)
downloadblackbird-obmc-linux-79978a9bd02b0c2fcf6e8485dcb5ef7ee34f1adb.tar.gz
blackbird-obmc-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/adis16400_core.c')
-rw-r--r--drivers/iio/imu/adis16400_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/imu/adis16400_core.c b/drivers/iio/imu/adis16400_core.c
index 9b697d35dbef..46a569005a13 100644
--- a/drivers/iio/imu/adis16400_core.c
+++ b/drivers/iio/imu/adis16400_core.c
@@ -833,7 +833,6 @@ static struct adis16400_chip_info adis16400_chips[] = {
};
static const struct iio_info adis16400_info = {
- .driver_module = THIS_MODULE,
.read_raw = &adis16400_read_raw,
.write_raw = &adis16400_write_raw,
.update_scan_mode = adis16400_update_scan_mode,
OpenPOWER on IntegriCloud