diff options
| author | Andrew Davis <afd@ti.com> | 2024-01-23 19:36:43 +0300 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-01-27 03:25:04 +0300 |
| commit | 3a93da231c12bb153224bbbdd3d9a83da9e0ba33 (patch) | |
| tree | 0823693c254bfb7b4e5921bfcf344167c3e60a1a /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | e90a67f618c4a1128c49b11ddec37d9f1728ff5b (diff) | |
| download | linux-3a93da231c12bb153224bbbdd3d9a83da9e0ba33.tar.xz | |
power: supply: rt5033: Use devm_power_supply_register() helper
Use the device lifecycle managed register function. This helps prevent
mistakes like unregistering out of order in cleanup functions and
forgetting to unregister on error paths.
Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240123163653.384385-12-afd@ti.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
