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
@@ -111,7 +111,6 @@ static const struct iio_chan_spec tsys01_channels[] = {
|
||||
|
||||
static const struct iio_info tsys01_info = {
|
||||
.read_raw = tsys01_read_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static bool tsys01_crc_valid(u16 *n_prom)
|
||||
|
Reference in New Issue
Block a user