Files
linux-apfs/drivers
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
..
2008-04-29 08:06:27 -07:00
2008-04-29 13:46:54 -07:00
2008-04-30 08:29:47 -07:00
2008-05-01 08:03:59 -07:00
2008-04-29 08:06:18 -07:00
2008-05-01 11:15:28 -07:00
2008-05-01 08:04:00 -07:00
2008-05-01 08:04:01 -07:00
2008-04-30 08:29:52 -07:00
2008-04-30 08:29:52 -07:00