From: Jean Delvare Date: Tue, 1 Sep 2015 16:07:41 +0000 (+0200) Subject: tg3: Fix temperature reporting X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3d11fe08ccc9bff174fc958722b5661f0932486;p=pandora-kernel.git tg3: Fix temperature reporting The temperature registers appear to report values in degrees Celsius while the hwmon API mandates values to be exposed in millidegrees Celsius. Do the conversion so that the values reported by "sensors" are correct. Fixes: aed93e0bf493 ("tg3: Add hwmon support for temperature") Signed-off-by: Jean Delvare Cc: Prashant Sreedharan Cc: Michael Chan Cc: stable@vger.kernel.org [v3.6+] Signed-off-by: David S. Miller --- Reading git-diff-tree failed