diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 18:25:56 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 22:28:56 +0200 |
commit | 227e8ef81d6db980184c49e893bb1e7e7432b341 (patch) | |
tree | e1a04eda1163aaa066d9c65a3ae4276a9a1f3fc6 /drivers/iio/gyro/itg3200_core.c | |
parent | iio:frequency: drop assign iio_info.driver_module (diff) | |
download | linux-227e8ef81d6db980184c49e893bb1e7e7432b341.tar.xz linux-227e8ef81d6db980184c49e893bb1e7e7432b341.zip |
iio:gyro: 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/gyro/itg3200_core.c')
-rw-r--r-- | drivers/iio/gyro/itg3200_core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/gyro/itg3200_core.c b/drivers/iio/gyro/itg3200_core.c index cfa2db04a8ab..7adecb562c81 100644 --- a/drivers/iio/gyro/itg3200_core.c +++ b/drivers/iio/gyro/itg3200_core.c @@ -278,7 +278,6 @@ static const struct iio_chan_spec itg3200_channels[] = { static const struct iio_info itg3200_info = { .read_raw = &itg3200_read_raw, .write_raw = &itg3200_write_raw, - .driver_module = THIS_MODULE, }; static const unsigned long itg3200_available_scan_masks[] = { 0xffffffff, 0x0 }; |