2e83a5c5d2
This fixes a race condition I recently introduced with the PMOD feature addition (cef437e3: "w1: ds2760_battery: add support for sleep mode feature"). Postpone the call to power_supply_register() to fix it. Signed-off-by: Daniel Mack <daniel@caiaq.de> Cc: Szabolcs Gyurko <szabolcs.gyurko@tlt.hu> Acked-by: Matt Reimer <mreimer@vpop.net> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
apm_power.c | ||
bq27x00_battery.c | ||
da9030_battery.c | ||
ds2760_battery.c | ||
ds2782_battery.c | ||
max17040_battery.c | ||
olpc_battery.c | ||
pcf50633-charger.c | ||
pda_power.c | ||
pmu_battery.c | ||
power_supply.h | ||
power_supply_core.c | ||
power_supply_leds.c | ||
power_supply_sysfs.c | ||
tosa_battery.c | ||
wm97xx_battery.c | ||
wm8350_power.c |