diff options
author | Andrew Davis <afd@ti.com> | 2024-01-23 10:36:50 -0600 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-01-27 01:25:05 +0100 |
commit | a16dc57e97558dcff7c422b3abec4f9880e8272b (patch) | |
tree | 2521477f324bb0327a80ef92539e8fe3c0615bb8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 077c1df8456f97d89e4880ba503d8ddf6af5be12 (diff) |
power: supply: rx51: 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-19-afd@ti.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions