iio:counter:104-quad-8 drop assign iio_info.driver_module
authorJonathan Cameron <jic23@kernel.org>
Sun, 23 Jul 2017 16:25:52 +0000 (17:25 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Aug 2017 20:26:11 +0000 (21:26 +0100)
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>
drivers/iio/counter/104-quad-8.c

index ba3d9030cd514f6ac433fb8ca7703eb97c71c0ac..b56985078d8c3440d9f8d0486f013face68c1737 100644 (file)
@@ -185,7 +185,6 @@ static int quad8_write_raw(struct iio_dev *indio_dev,
 }
 
 static const struct iio_info quad8_info = {
-       .driver_module = THIS_MODULE,
        .read_raw = quad8_read_raw,
        .write_raw = quad8_write_raw
 };