drivers/power/ds2780_battery.c: add a nolock function to w1 interface
authorClifton Barnes <cabarnes@indesign-llc.com>
Wed, 2 Nov 2011 20:39:52 +0000 (13:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 2 Nov 2011 23:07:03 +0000 (16:07 -0700)
commit9fe678fa2feb4aaac0b4220de63e1b7f8ccebae6
tree2960251be84e19f289b1263f018cf33d95da4a95
parent853eee72f74f449797f0500ea19fc1bf497428d8
drivers/power/ds2780_battery.c: add a nolock function to w1 interface

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