Fixes the deadlock when inserting and removing the ds2780.
commit64a8d94fbc0d7fe4e87ed41ecb1b4b9e05cc0efe
authorClifton Barnes <cabarnes@indesign-llc.com>
Wed, 24 Aug 2011 23:47:59 +0000 (25 09:47 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 31 Aug 2011 04:31:45 +0000 (31 14:31 +1000)
treee811ffb9eb26eec60afe1d763a917c68c2828e09
parentc35e59c16a6d5f1ea3589e46baf0c3ee20eac902
Fixes the deadlock when inserting and removing the ds2780.

Signed-off-by: Clifton Barnes <cabarnes@indesign-llc.com>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/power/ds2780_battery.c