iio:temperature: drop assignment of iio_info.driver_module
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>
This commit is contained in:

committed by
Jonathan Cameron

parent
a62e256b14
commit
5e42916ad9
@@ -179,7 +179,6 @@ static const struct iio_info tmp006_info = {
|
||||
.read_raw = tmp006_read_raw,
|
||||
.write_raw = tmp006_write_raw,
|
||||
.attrs = &tmp006_attribute_group,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static bool tmp006_check_identification(struct i2c_client *client)
|
||||
|
Reference in New Issue
Block a user