summaryrefslogtreecommitdiff
path: root/ipc/compat.c
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@marvell.com>2011-08-12 21:19:57 -0700
committerAnton Vorontsov <cbouatmailru@gmail.com>2011-08-19 21:03:34 +0400
commit91d8b0d6f81d2946962ee559090a34834dfd467b (patch)
tree3cbfca6e1eca3b857976116c4c96f54e2e62a6a5 /ipc/compat.c
parent4cfa892c03b35f3c61d93e0d8d97ff8db074818f (diff)
max17042_battery: Do not lose accuracy calculating current_now
PROP_CURRENT_NOW value is first divided then multiplied up causing a lose of accuracy. Use the same method as PROP_CURRENT_AVG to do the calculation. Signed-off-by: Philip Rakity <prakity@marvell.com> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'ipc/compat.c')
0 files changed, 0 insertions, 0 deletions