diff options
| author | Hans de Goede <[email protected]> | 2022-01-06 12:06:05 +0100 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2022-02-01 14:29:34 +0100 |
| commit | f1b7e0881fe12ebd2d95f55ebf4fcf57566a53b6 (patch) | |
| tree | bae0ba1de5d85d023b0d8ce8157d5f913cfcd9a5 /tools/perf/scripts/python/compaction-times.py | |
| parent | 360108661277a784aacb22913b853e9b0fc4de1c (diff) | |
power: supply: axp288_fuel_gauge: Use devm_power_supply_register()
Use devm_power_supply_register() instead of
power_supply_register().
Note as a side-effect this changes the release order so that now
first the IRQs get free-ed and then the psy gets unregistered.
This is actually a bug-fix since this fixes the IRQ possibly trying
to reference the unregistered psy.
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions