olpc_battery: Add support for CURRENT_NOW and VOLTAGE_NOW
authorSascha Silbe <sascha-pgp@silbe.org>
Fri, 10 Dec 2010 22:05:21 +0000 (23:05 +0100)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Wed, 12 Jan 2011 17:29:20 +0000 (20:29 +0300)
commit22fadd766b2a222b273df9f2264b72e4b3bbe921
tree17ba072ba44590265cabb3ec6b6ea0852a2448e2
parent20fd9830ccc685adce65ba89ffc3ca5426a2b064
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 <sascha-pgp@silbe.org>
[ pgf@laptop.org: added VOLTAGE_NOW, aliased to VOLTAGE_AVG ]
Signed-off-by: Paul Fox <pgf@laptop.org>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/olpc_battery.c