From: Sascha Silbe Date: Fri, 10 Dec 2010 22:05:21 +0000 (+0100) Subject: olpc_battery: Add support for CURRENT_NOW and VOLTAGE_NOW X-Git-Tag: v2.6.38-rc1~56^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22fadd766b2a222b273df9f2264b72e4b3bbe921;p=pandora-kernel.git olpc_battery: Add support for CURRENT_NOW and VOLTAGE_NOW {CURRENT,VOLTAGE}_AVG are actually {CURRENT,VOLTAGE}_NOW (the EC code directly passes through the value from the gas gauge instead of the internally used average). We retain {CURRENT,VOLTAGE}_AVG as an alias for compatibility reasons, it will be removed later. Signed-off-by: Sascha Silbe [ pgf@laptop.org: added VOLTAGE_NOW, aliased to VOLTAGE_AVG ] Signed-off-by: Paul Fox Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed