summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorFelix Gu <ustc.gu@gmail.com>2026-09-06 23:58:35 +0800
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-09-06 18:35:10 +0100
commit2cdc7ef31827db4fbc6283750420639569e1f0e9 (patch)
tree19149d415b0857da67a72b5378123a2f7462c214 /tools/lib/python
parent8b958dd214ad0c003f56549e9e039cb8067dc1a2 (diff)
downloadlinux-next-2cdc7ef31827db4fbc6283750420639569e1f0e9.tar.gz
linux-next-2cdc7ef31827db4fbc6283750420639569e1f0e9.zip
iio: adc: sun4i-gpadc-iio: clean up on thermal zone registration failure
If devm_thermal_of_zone_register() fails, probe returns without unregistering the IIO map array or disabling runtime PM. Jump to err_map to release them. Fixes: b0a242894f11 ("iio: adc: sun4i-gpadc-iio: register in the thermal after registering in pm") Signed-off-by: Felix Gu <ustc.gu@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions