iio: multiplexer: drop the manual assignment of THIS_MODULE
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 3 Sep 2017 17:08:10 +0000 (18:08 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 3 Sep 2017 17:10:24 +0000 (18:10 +0100)
This is now done through some macro magic by the core.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Peter Rosin <peda@axentia.se>
drivers/iio/multiplexer/iio-mux.c

index 37ba007f8dcaae45c9421726bb6ec9ae0d3874a6..92495d309193856c89a55a82443e304f4a227883 100644 (file)
@@ -173,7 +173,6 @@ static const struct iio_info mux_info = {
        .read_raw = mux_read_raw,
        .read_avail = mux_read_avail,
        .write_raw = mux_write_raw,
-       .driver_module = THIS_MODULE,
 };
 
 static ssize_t mux_read_ext_info(struct iio_dev *indio_dev, uintptr_t private,