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
..
2009-06-23 01:54:30 -04:00
2009-06-16 19:50:13 -07:00
2009-06-18 09:56:20 +02:00
2009-06-26 13:06:41 +02:00
2009-06-16 19:50:13 -07:00
2009-06-17 09:35:24 -07:00
2009-06-16 19:50:13 -07:00
2009-06-22 10:12:37 +01:00
2009-06-20 18:39:43 +00:00
2009-06-18 13:04:04 -07:00
2009-06-22 16:56:22 -07:00
2009-06-16 19:50:13 -07:00
2009-06-18 13:04:04 -07:00
2009-06-15 16:47:25 +10:00
2009-06-19 16:46:05 -07:00
2009-06-18 13:04:04 -07:00
2009-06-18 13:04:04 -07:00