mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 15:10:38 +00:00
iio:counter:104-quad-8 drop assign iio_info.driver_module
The equivalent is 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>
This commit is contained in:
parent
d177f6af48
commit
d5b531a8bc
@ -185,7 +185,6 @@ static int quad8_write_raw(struct iio_dev *indio_dev,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const struct iio_info quad8_info = {
|
static const struct iio_info quad8_info = {
|
||||||
.driver_module = THIS_MODULE,
|
|
||||||
.read_raw = quad8_read_raw,
|
.read_raw = quad8_read_raw,
|
||||||
.write_raw = quad8_write_raw
|
.write_raw = quad8_write_raw
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user