drivers/power/ds2780_battery.c: fix deadlock upon insertion and removal
commit7414af4ea686db48b0985a5d26a6639bbad271ea
authorClifton Barnes <cabarnes@indesign-llc.com>
Wed, 2 Nov 2011 20:39:55 +0000 (2 13:39 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:43:49 +0000 (11 09:43 -0800)
tree18b694bfcdc3e1e0f04593f9deb90ee55c6f4985
parent1b4e7370d4b6591f64e12f8f35bc219996c509f6
drivers/power/ds2780_battery.c: fix deadlock upon insertion and removal

commit 0e053fcbbbc4d945247cb32cad2767b483cb65f8 upstream.

Fixes the deadlock when inserting and removing the ds2780.

Signed-off-by: Clifton Barnes <cabarnes@indesign-llc.com>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/power/ds2780_battery.c