drivers/power/ds2780_battery.c: add a nolock function to w1 interface
commit1b4e7370d4b6591f64e12f8f35bc219996c509f6
authorClifton Barnes <cabarnes@indesign-llc.com>
Wed, 2 Nov 2011 20:39:52 +0000 (2 13:39 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:43:49 +0000 (11 09:43 -0800)
treeed2ff9e20eb3feedcd906bcf4e7793f38a40506a
parent17fd351616a1c63239ec7530eeb97354002c6eba
drivers/power/ds2780_battery.c: add a nolock function to w1 interface

commit 9fe678fa2feb4aaac0b4220de63e1b7f8ccebae6 upstream.

Adds a nolock function to the w1 interface to avoid locking the
mutex if needed.

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/w1/slaves/w1_ds2780.c
drivers/w1/slaves/w1_ds2780.h