iio:amplifiers:ad8366 drop assign iio_info.driver_module and iio_trigger_ops.owner
The equivalent of both of these are 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
6c5bffa80e
commit
727929797f
@ -117,7 +117,6 @@ static int ad8366_write_raw(struct iio_dev *indio_dev,
|
|||||||
static const struct iio_info ad8366_info = {
|
static const struct iio_info ad8366_info = {
|
||||||
.read_raw = &ad8366_read_raw,
|
.read_raw = &ad8366_read_raw,
|
||||||
.write_raw = &ad8366_write_raw,
|
.write_raw = &ad8366_write_raw,
|
||||||
.driver_module = THIS_MODULE,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define AD8366_CHAN(_channel) { \
|
#define AD8366_CHAN(_channel) { \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user