diff options
| author | Andrew Davis <afd@ti.com> | 2024-01-23 10:36:52 -0600 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-01-27 01:25:05 +0100 |
| commit | 8ac675344280a406835f03746594345209f2c1ae (patch) | |
| tree | 1e3f7f2656cd4a288e1424669c9f6cefe69c6d27 /scripts/gdb/linux/tasks.py | |
| parent | 4cb372a0ca220fff4a3878c4d1239af3e057e7cc (diff) | |
power: supply: twl4030_madc: Use devm_iio_channel_get() helper
Use the device lifecycle managed get function. This helps prevent
mistakes like releasing out of order in cleanup functions and
forgetting to release on error paths.
Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240123163653.384385-21-afd@ti.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions
