Commit 1b449a72 authored by Jonathan Cameron's avatar Jonathan Cameron Committed by Jonathan Cameron

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: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: default avatarLars-Peter Clausen <lars@metafoo.de>
parent 7f307262
...@@ -186,7 +186,6 @@ static int incl_3d_write_raw(struct iio_dev *indio_dev, ...@@ -186,7 +186,6 @@ static int incl_3d_write_raw(struct iio_dev *indio_dev,
} }
static const struct iio_info incl_3d_info = { static const struct iio_info incl_3d_info = {
.driver_module = THIS_MODULE,
.read_raw = &incl_3d_read_raw, .read_raw = &incl_3d_read_raw,
.write_raw = &incl_3d_write_raw, .write_raw = &incl_3d_write_raw,
}; };
......
...@@ -138,7 +138,6 @@ static int dev_rot_write_raw(struct iio_dev *indio_dev, ...@@ -138,7 +138,6 @@ static int dev_rot_write_raw(struct iio_dev *indio_dev,
} }
static const struct iio_info dev_rot_info = { static const struct iio_info dev_rot_info = {
.driver_module = THIS_MODULE,
.read_raw_multi = &dev_rot_read_raw, .read_raw_multi = &dev_rot_read_raw,
.write_raw = &dev_rot_write_raw, .write_raw = &dev_rot_write_raw,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment