linux-stable-rt/drivers/power
Daniel Mack 2e83a5c5d2 ds2760_battery: delay power supply registration
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>
2009-07-30 17:35:58 +04:00
..
Kconfig
Makefile
apm_power.c
bq27x00_battery.c
da9030_battery.c
ds2760_battery.c ds2760_battery: delay power supply registration 2009-07-30 17:35:58 +04:00
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