diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2022-01-06 14:06:05 +0300 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2022-02-01 16:29:34 +0300 |
| commit | f1b7e0881fe12ebd2d95f55ebf4fcf57566a53b6 (patch) | |
| tree | bae0ba1de5d85d023b0d8ce8157d5f913cfcd9a5 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 360108661277a784aacb22913b853e9b0fc4de1c (diff) | |
| download | linux-f1b7e0881fe12ebd2d95f55ebf4fcf57566a53b6.tar.xz | |
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 <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
