From: Philip Rakity Date: Sat, 13 Aug 2011 04:19:57 +0000 (-0700) Subject: max17042_battery: Do not lose accuracy calculating current_now X-Git-Tag: v3.3-rc1~98^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91d8b0d6f81d2946962ee559090a34834dfd467b;p=pandora-kernel.git 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 Acked-by: MyungJoo Ham Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed