4132f19173
Currently, every time the device wakes up from sleep, the
iio_chan array is reallocated, leaking the previous one
until the device is removed (basically never).
Move the allocation to the probe function to avoid this.
Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com>
Fixes:
|
||
---|---|---|
.. | ||
hid-sensor-temperature.c | ||
iqs620at-temp.c | ||
Kconfig | ||
ltc2983.c | ||
Makefile | ||
max31856.c | ||
max31865.c | ||
maxim_thermocouple.c | ||
mlx90614.c | ||
mlx90632.c | ||
tmp006.c | ||
tmp007.c | ||
tmp117.c | ||
tsys01.c | ||
tsys02d.c |