diff options
author | Andrew Davis <afd@ti.com> | 2024-01-23 09:09:12 -0600 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-01-27 00:49:17 +0100 |
commit | f2d506d9fe10f0104951f61ad0d414ac8b8dbc38 (patch) | |
tree | 592735bef9b5a255d8930f4fcb73d99e346a2532 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 73697f0acc773a357946a3c5a917bfb4c85128a3 (diff) |
power: supply: bq27xxx: Use devm to free device mutex
Use a device lifecycle managed action to free the device mutex.
This helps prevent mistakes like freeing out of order in cleanup
functions and forgetting to free on error paths.
Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240123150914.308510-3-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