diff options
| author | Andrew Davis <afd@ti.com> | 2024-01-29 13:02:45 -0600 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-02-01 22:48:54 +0100 |
| commit | 478a253e466570c4f02cbd7c9386f29dffe4375d (patch) | |
| tree | d62bad3ac67626b3ce02c2fa89af7bfbfc44e3f8 /tools/perf/scripts/python | |
| parent | power: supply: max77693: Use devm_power_supply_register() helper (diff) | |
| download | linux-478a253e466570c4f02cbd7c9386f29dffe4375d.tar.gz linux-478a253e466570c4f02cbd7c9386f29dffe4375d.zip | |
power: supply: max8925: 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/20240129190246.73067-4-afd@ti.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
