From: Chris D Schimp Date: Mon, 20 Feb 2012 21:59:24 +0000 (-0500) Subject: hwmon: (max6639) Fix FAN_FROM_REG calculation X-Git-Tag: v3.3-rc5~1^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b63d97a36edb1aecf8c13e5f5783feff4d64c24b;p=pandora-kernel.git hwmon: (max6639) Fix FAN_FROM_REG calculation RPM calculation from tachometer value does not depend on PPR. Also, do not report negative RPM values. Signed-off-by: Chris D Schimp [guenter.roeck@ericsson.com: do not report negative RPM values] Signed-off-by: Guenter Roeck Cc: stable@vger.kernel.org # 3.0+ Acked-by: Roland Stigge --- Reading git-diff-tree failed