diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 17:26:02 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 21:33:36 +0100 |
commit | 1b449a72580e8c97ae0cef3efcfa18e9ca438693 (patch) | |
tree | 76ef5a9f4154078f8c4f673c012f7365e405b120 /drivers/iio | |
parent | 7f307262af08e842297561ef7afd3cce248b258a (diff) | |
download | linux-stable-1b449a72580e8c97ae0cef3efcfa18e9ca438693.tar.gz linux-stable-1b449a72580e8c97ae0cef3efcfa18e9ca438693.tar.bz2 linux-stable-1b449a72580e8c97ae0cef3efcfa18e9ca438693.zip |
iio:orientation: drop assign iio_info.driver_module
The equivalent of this is now done via macro magic when
the relevant register call is 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')
-rw-r--r-- | drivers/iio/orientation/hid-sensor-incl-3d.c | 1 | ||||
-rw-r--r-- | drivers/iio/orientation/hid-sensor-rotation.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/orientation/hid-sensor-incl-3d.c b/drivers/iio/orientation/hid-sensor-incl-3d.c index fd1b3696ee42..1e5451d1ff88 100644 --- a/drivers/iio/orientation/hid-sensor-incl-3d.c +++ b/drivers/iio/orientation/hid-sensor-incl-3d.c @@ -186,7 +186,6 @@ static int incl_3d_write_raw(struct iio_dev *indio_dev, } static const struct iio_info incl_3d_info = { - .driver_module = THIS_MODULE, .read_raw = &incl_3d_read_raw, .write_raw = &incl_3d_write_raw, }; diff --git a/drivers/iio/orientation/hid-sensor-rotation.c b/drivers/iio/orientation/hid-sensor-rotation.c index 98fe0c5df380..a69db2002414 100644 --- a/drivers/iio/orientation/hid-sensor-rotation.c +++ b/drivers/iio/orientation/hid-sensor-rotation.c @@ -138,7 +138,6 @@ static int dev_rot_write_raw(struct iio_dev *indio_dev, } static const struct iio_info dev_rot_info = { - .driver_module = THIS_MODULE, .read_raw_multi = &dev_rot_read_raw, .write_raw = &dev_rot_write_raw, }; |