From: Daniel Mack Date: Tue, 28 Apr 2009 08:55:02 +0000 (+0200) Subject: w1: ds2760_battery: add support for sleep mode feature X-Git-Tag: v2.6.31-rc1~2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cef437e3a9b6d229d4ed3730cde047007267df6d;p=pandora-kernel.git w1: ds2760_battery: add support for sleep mode feature This adds support for ds2760's sleep mode feature. With this feature enabled, the chip enters a deep sleep mode and disconnects from the battery when the w1 line is held down for more than 2 seconds. This new behaviour can be switched on and off using a new module parameter. Signed-off-by: Daniel Mack Cc: Szabolcs Gyurko Acked-by: Matt Reimer Acked-by: Evgeniy Polyakov Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed