diff options
| author | Jialin Zhang <[email protected]> | 2022-05-17 03:30:20 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-06-19 16:22:48 +0000 |
| commit | 47dcf770abc793f347a65a24c24d550c936f08b0 (patch) | |
| tree | 74f9c26f643098206cbe3172b3e5609ea5d26ff5 /drivers/iio/adc/stm32-adc-core.c | |
| parent | iio: adc: rzg2l_adc: add missing fwnode_handle_put() in rzg2l_adc_parse_prope... (diff) | |
| download | kernel-47dcf770abc793f347a65a24c24d550c936f08b0.tar.gz kernel-47dcf770abc793f347a65a24c24d550c936f08b0.zip | |
iio: adc: ti-ads131e08: add missing fwnode_handle_put() in ads131e08_alloc_channels()
fwnode_handle_put() should be used when terminating
device_for_each_child_node() iteration with break or return to prevent
stale device node references from being left behind.
Fixes: d935eddd2799 ("iio: adc: Add driver for Texas Instruments ADS131E0x ADC family")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Jialin Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/iio/adc/stm32-adc-core.c')
0 files changed, 0 insertions, 0 deletions
