linux/drivers/iio/temperature
Nuno Sá b07c47bfab iio: ltc2983: Fix of_node refcounting
When returning or breaking early from a
`for_each_available_child_of_node()` loop, we need to explicitly call
`of_node_put()` on the child node to possibly release the node.

Fixes: f110f3188e ("iio: temperature: Add support for LTC2983")
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20200925091045.302-1-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-09-29 17:34:18 +01:00
..
hid-sensor-temperature.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
iqs620at-temp.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
Kconfig iio: temperature: Add support for Azoteq IQS620AT temperature sensor 2020-03-27 08:25:50 +00:00
ltc2983.c iio: ltc2983: Fix of_node refcounting 2020-09-29 17:34:18 +01:00
Makefile iio: temperature: Add support for Azoteq IQS620AT temperature sensor 2020-03-27 08:25:50 +00:00
max31856.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
maxim_thermocouple.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
mlx90614.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
mlx90632.c iio: temperature: mlx90632: Interface to change object ambient temperature 2020-09-13 10:21:37 +01:00
tmp006.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
tmp007.c iio:temperature:tmp007: Drop of_match_ptr protection 2020-09-21 18:41:30 +01:00
tsys01.c iio:temperature:tsys01: Drop of_match_ptr protection 2020-09-21 18:41:30 +01:00
tsys02d.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00