diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 18:25:59 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 22:31:01 +0200 |
commit | 79978a9bd02b0c2fcf6e8485dcb5ef7ee34f1adb (patch) | |
tree | c3256f7e287b5e4fbd5c1963a69faf0d4f5825b3 /drivers/iio/imu/bmi160 | |
parent | iio:humidity: drop assign iio_info.driver_module and iio_trigger_ops.owner (diff) | |
download | linux-79978a9bd02b0c2fcf6e8485dcb5ef7ee34f1adb.tar.xz 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/bmi160')
-rw-r--r-- | drivers/iio/imu/bmi160/bmi160_core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/imu/bmi160/bmi160_core.c b/drivers/iio/imu/bmi160/bmi160_core.c index cfd225ed1c8d..c85659ca9507 100644 --- a/drivers/iio/imu/bmi160/bmi160_core.c +++ b/drivers/iio/imu/bmi160/bmi160_core.c @@ -482,7 +482,6 @@ static const struct attribute_group bmi160_attrs_group = { }; static const struct iio_info bmi160_info = { - .driver_module = THIS_MODULE, .read_raw = bmi160_read_raw, .write_raw = bmi160_write_raw, .attrs = &bmi160_attrs_group, |