power: ltc2941-battery-gauge: Fix typo in conversion formula (58 instead of 85)
authorMike Looijmans <mike.looijmans@topic.nl>
Wed, 11 Feb 2015 11:36:51 +0000 (12:36 +0100)
committerSebastian Reichel <sre@kernel.org>
Wed, 25 Feb 2015 20:15:59 +0000 (21:15 +0100)
commitcc6405667c633383cf9365731ad91e8a88d39b89
tree1f24580d4a42f9efaca5f869f62232e2fec0991e
parentc517d838eb7d07bbe9507871fab3931deccff539
power: ltc2941-battery-gauge: Fix typo in conversion formula (58 instead of 85)

The driver reported 30% less than actually measured. This turned out to
be caused by a simple typo in the formula to calculate the LSB quantity.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/ltc2941-battery-gauge.c