aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorMyungJoo Ham <[email protected]>2012-03-14 02:00:01 +0000
committerAnton Vorontsov <[email protected]>2012-03-26 16:41:25 +0000
commit6e0e60cd0d688d0d1af85ef2abb8e363595af988 (patch)
tree0c18bb3f9bd7a80e0fc532b3d9b3093e0c386297 /lib/string_helpers.c
parentmax8998_charger: Include linux/module.h just once (diff)
downloadkernel-6e0e60cd0d688d0d1af85ef2abb8e363595af988.tar.gz
kernel-6e0e60cd0d688d0d1af85ef2abb8e363595af988.zip
max17042_battery: Fix CHARGE_FULL representation.
CHARGE_FULL should represent the full capacity of the battery in uAh. The 0x10 (FullCAP) register shows the compensated full capacity in mAh * 2; e.g., reg(0x10) = 0xBB8 means that it is 1500mAh. Signed-off-by: MyungJoo Ham <[email protected]> Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions