From: Lars-Peter Clausen Date: Mon, 24 May 2010 18:20:57 +0000 (+0200) Subject: bq27x00: Improve temperature property precession X-Git-Tag: v2.6.39-rc1~56^2~10^2~12 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e9f30497e88600ba52013665270f543bb94f0d8;p=pandora-kernel.git bq27x00: Improve temperature property precession This patch improves the precession of the temperature property of the bq27x00 driver. By dividing before multiplying the current code effectively cuts of the last decimal digit. This patch fixes it by multiplying before dividing. Signed-off-by: Lars-Peter Clausen Acked-by: Rodolfo Giometti Tested-by: Grazvydas Ignotas --- Reading git-diff-tree failed