diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2022-01-06 14:06:06 +0300 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2022-02-01 16:29:34 +0300 |
| commit | 05972f53a12fe97ac2bb4d56dfed730e93040d89 (patch) | |
| tree | a68a7e3111e188c33798b5547105854ecbdbb32e /tools/perf/scripts/python | |
| parent | f1b7e0881fe12ebd2d95f55ebf4fcf57566a53b6 (diff) | |
| download | linux-05972f53a12fe97ac2bb4d56dfed730e93040d89.tar.xz | |
power: supply: axp288_fuel_gauge: Refactor IRQ initialization
Refactor the IRQ initialization code:
* Move the looking up of the vIRQs to the beginning of probe(), failing
probe early if this fails
* Do the actual requesting of IRQs inline in probe() and properly abort
probe() on errors
* Use devm_request_threaded_irq(), completing the conversion of probe() to
only use devm managed resources and remove the remove() driver function.
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')
0 files changed, 0 insertions, 0 deletions
