diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2016-12-21 15:36:49 +0100 |
|---|---|---|
| committer | Sebastian Reichel <sre@kernel.org> | 2017-01-04 22:02:39 +0100 |
| commit | 42e2008a66a7e17ca0c4382ff676a9cfe7a633bd (patch) | |
| tree | 09f987446b3844b989b710f4110d1df8a47f7724 /tools/perf/scripts/python | |
| parent | power: supply: axp288_charger: Use devm_power_supply_register (diff) | |
| download | linux-42e2008a66a7e17ca0c4382ff676a9cfe7a633bd.tar.gz linux-42e2008a66a7e17ca0c4382ff676a9cfe7a633bd.zip | |
power: supply: axp288_charger: Register extcon notifers after power_supply
The extcon notifier work calls power_supply_changed on the power_supply
we register, so the extcon notifiers should be registered after we
register the power_supply.
While touching this code anyways, refactor the code for the 3 cable types
into a loop to avoid code repetition.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
