From: Guenter Roeck Date: Thu, 4 Dec 2014 17:58:15 +0000 (-0800) Subject: hwmon: (lm75) Strengthen detect function X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~25^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ad40cc568c5537de11092d3362f9cb287f915d9;p=pandora-kernel.git hwmon: (lm75) Strengthen detect function A chip returning 0x00 in all registers is erroneously detected as LM75. Check hysteresis and temperature limit registers and abort if both are 0 to reduce the likelyhood for this to happen. Reviewed-by: Rob Coulson Reviewed-by: Jean Delvare Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed