1
0
Fork 0

iio:dummy: drop assignment of iio_info.driver_module

The equivalent is now done via macro magic when
the relevant register call is made.  The actual structure
element will shortly go away.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
hifive-unleashed-5.1
Jonathan Cameron 2017-07-23 17:25:54 +01:00 committed by Jonathan Cameron
parent ea9e3f3588
commit 4403a39829
1 changed files with 0 additions and 1 deletions

View File

@ -519,7 +519,6 @@ static int iio_dummy_write_raw(struct iio_dev *indio_dev,
* Device type specific information.
*/
static const struct iio_info iio_dummy_info = {
.driver_module = THIS_MODULE,
.read_raw = &iio_dummy_read_raw,
.write_raw = &iio_dummy_write_raw,
#ifdef CONFIG_IIO_SIMPLE_DUMMY_EVENTS