summaryrefslogtreecommitdiffstats
path: root/drivers/iio/orientation/hid-sensor-rotation.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 17:26:02 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-22 21:33:36 +0100
commit1b449a72580e8c97ae0cef3efcfa18e9ca438693 (patch)
tree76ef5a9f4154078f8c4f673c012f7365e405b120 /drivers/iio/orientation/hid-sensor-rotation.c
parent7f307262af08e842297561ef7afd3cce248b258a (diff)
downloadlinux-1b449a72580e8c97ae0cef3efcfa18e9ca438693.tar.bz2
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/orientation/hid-sensor-rotation.c')
-rw-r--r--drivers/iio/orientation/hid-sensor-rotation.c1
1 files changed, 0 insertions, 1 deletions
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,
};