summaryrefslogtreecommitdiff
path: root/drivers/power/twl4030_madc_battery.c
diff options
context:
space:
mode:
authorMike Looijmans <mike.looijmans@topic.nl>2015-02-11 11:36:51 (GMT)
committerSebastian Reichel <sre@kernel.org>2015-02-25 20:15:59 (GMT)
commitcc6405667c633383cf9365731ad91e8a88d39b89 (patch)
tree1f24580d4a42f9efaca5f869f62232e2fec0991e /drivers/power/twl4030_madc_battery.c
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
downloadlinux-cc6405667c633383cf9365731ad91e8a88d39b89.tar.xz
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>
Diffstat (limited to 'drivers/power/twl4030_madc_battery.c')
0 files changed, 0 insertions, 0 deletions