staging:iio:accel: drop assignment of iio_info.driver_module
The equivalent 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>
This commit is contained in:
parent
38ebbf689e
commit
85cfa866cc
@ -284,7 +284,6 @@ static const struct iio_info adis16201_info = {
|
||||
.read_raw = adis16201_read_raw,
|
||||
.write_raw = adis16201_write_raw,
|
||||
.update_scan_mode = adis_update_scan_mode,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static const char * const adis16201_status_error_msgs[] = {
|
||||
|
@ -232,7 +232,6 @@ static const struct iio_info adis16203_info = {
|
||||
.read_raw = adis16203_read_raw,
|
||||
.write_raw = adis16203_write_raw,
|
||||
.update_scan_mode = adis_update_scan_mode,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static const char * const adis16203_status_error_msgs[] = {
|
||||
|
@ -285,7 +285,6 @@ static const struct iio_info adis16209_info = {
|
||||
.read_raw = adis16209_read_raw,
|
||||
.write_raw = adis16209_write_raw,
|
||||
.update_scan_mode = adis_update_scan_mode,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static const char * const adis16209_status_error_msgs[] = {
|
||||
|
@ -361,7 +361,6 @@ static const struct iio_info adis16240_info = {
|
||||
.read_raw = adis16240_read_raw,
|
||||
.write_raw = adis16240_write_raw,
|
||||
.update_scan_mode = adis_update_scan_mode,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static const char * const adis16240_status_error_msgs[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user