linux-stable-rt/drivers/power
Andres Salomon 75d8807962 power_supply: fix up CHARGE_COUNTER output to be more precise
As Richard Smith pointed out, ACR * 6250 / 15 provides for less
precision loss than ACR * 4167 / 10, _and_ it doesn't overflow.  Switch
to using that equation for CHARGE_COUNTER.

Signed-off-by: Andres Salomon <dilinger@debian.org>
Cc: "Richard A. Smith" <richard@laptop.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
2008-05-19 01:44:36 +04:00
..
Kconfig
Makefile
apm_power.c
ds2760_battery.c
olpc_battery.c power_supply: fix up CHARGE_COUNTER output to be more precise 2008-05-19 01:44:36 +04:00
pda_power.c
pmu_battery.c
power_supply.h
power_supply_core.c
power_supply_leds.c
power_supply_sysfs.c power_supply: add CHARGE_COUNTER property and olpc_battery support for it 2008-05-13 12:27:11 +04:00