diff options
| author | Andrew Davis <[email protected]> | 2024-01-23 09:09:12 -0600 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2024-01-27 00:49:17 +0100 |
| commit | f2d506d9fe10f0104951f61ad0d414ac8b8dbc38 (patch) | |
| tree | 592735bef9b5a255d8930f4fcb73d99e346a2532 /tools/perf/scripts/python | |
| 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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions