diff options
author | Daniel Mack <daniel@caiaq.de> | 2009-07-15 18:20:38 +0200 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2009-07-30 15:35:58 +0200 |
commit | 2e83a5c5d2317c386de2880eb43ef0bef8eb1fa9 (patch) | |
tree | 39333e462d8aa49f94e5feef71b2f02064d092ba /scripts | |
parent | wm8350_power: Implement charge type property (diff) | |
download | linux-2e83a5c5d2317c386de2880eb43ef0bef8eb1fa9.tar.xz linux-2e83a5c5d2317c386de2880eb43ef0bef8eb1fa9.zip |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions