From: Daniel Mack Date: Wed, 15 Jul 2009 16:20:38 +0000 (+0200) Subject: ds2760_battery: delay power supply registration X-Git-Tag: v2.6.32-rc1~158^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e83a5c5d2317c386de2880eb43ef0bef8eb1fa9;p=pandora-kernel.git 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 Cc: Szabolcs Gyurko Acked-by: Matt Reimer Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed