staging:iio:cdc: drop assign iio_info.driver_module
authorJonathan Cameron <jic23@kernel.org>
Sun, 23 Jul 2017 16:26:11 +0000 (17:26 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Aug 2017 21:14:54 +0000 (22:14 +0100)
The equivalent of this is now done via macro magic when
the relevant register call is 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/staging/iio/cdc/ad7150.c
drivers/staging/iio/cdc/ad7152.c
drivers/staging/iio/cdc/ad7746.c

index a6f249e..2fe916c 100644 (file)
@@ -569,7 +569,6 @@ static const struct attribute_group ad7150_event_attribute_group = {
 
 static const struct iio_info ad7150_info = {
        .event_attrs = &ad7150_event_attribute_group,
-       .driver_module = THIS_MODULE,
        .read_raw = &ad7150_read_raw,
        .read_event_config = &ad7150_read_event_config,
        .write_event_config = &ad7150_write_event_config,
index ff10d1f..61377ca 100644 (file)
@@ -441,7 +441,6 @@ static const struct iio_info ad7152_info = {
        .read_raw = ad7152_read_raw,
        .write_raw = ad7152_write_raw,
        .write_raw_get_fmt = ad7152_write_raw_get_fmt,
-       .driver_module = THIS_MODULE,
 };
 
 static const struct iio_chan_spec ad7152_channels[] = {
index cdcb4fc..a124853 100644 (file)
@@ -667,7 +667,6 @@ static const struct iio_info ad7746_info = {
        .attrs = &ad7746_attribute_group,
        .read_raw = ad7746_read_raw,
        .write_raw = ad7746_write_raw,
-       .driver_module = THIS_MODULE,
 };
 
 /*