drivers/power/ds2780_battery.c: fix deadlock upon insertion and removal
authorClifton Barnes <cabarnes@indesign-llc.com>
Wed, 2 Nov 2011 20:39:55 +0000 (13:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 2 Nov 2011 23:07:03 +0000 (16:07 -0700)
commit0e053fcbbbc4d945247cb32cad2767b483cb65f8
tree7d933aba540f68b8117b4789bc39d4f4eb1de309
parent9fe678fa2feb4aaac0b4220de63e1b7f8ccebae6
drivers/power/ds2780_battery.c: fix deadlock upon insertion and removal

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/power/ds2780_battery.c