]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
iio:amplifiers:ad8366 drop assign iio_info.driver_module and iio_trigger_ops.owner
authorJonathan Cameron <jic23@kernel.org>
Sun, 23 Jul 2017 16:25:49 +0000 (17:25 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Aug 2017 20:24:50 +0000 (21:24 +0100)
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>
drivers/iio/amplifiers/ad8366.c

index 102c7174da5bf2485cc0fb7343cea2e390c1c8f3..43667866321e3470d76ad8ada94fff7dada63a5f 100644 (file)
@@ -117,7 +117,6 @@ static int ad8366_write_raw(struct iio_dev *indio_dev,
 static const struct iio_info ad8366_info = {
        .read_raw = &ad8366_read_raw,
        .write_raw = &ad8366_write_raw,
-       .driver_module = THIS_MODULE,
 };
 
 #define AD8366_CHAN(_channel) {                                \