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 19:35:29 +0000 (20:35 +0100)
commit4bf828cf0f4d320969e6090428f98be13c1f042e
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