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