diff options
author | Jialin Zhang <[email protected]> | 2022-05-17 11:30:20 +0800 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2022-06-19 17:22:48 +0100 |
commit | 47dcf770abc793f347a65a24c24d550c936f08b0 (patch) | |
tree | 74f9c26f643098206cbe3172b3e5609ea5d26ff5 /drivers/usb/cdns3/cdns3-trace.c | |
parent | d836715f588ea15f905f607c27bc693587058db4 (diff) |
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/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions