From: Guenter Roeck Date: Tue, 22 Apr 2014 23:13:17 +0000 (-0700) Subject: hwmon: (tmp421) Strengthen detect function X-Git-Tag: cleanup-for-v3.18~118^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a63ee9d83b960199ae111ff4e2413fbe328d32fe;p=pandora-kernel.git hwmon: (tmp421) Strengthen detect function Not all supported chips support the entire I2C address range. Only accept specific chips at the addresses supported by that chip. Check for invalid values in conversion rate and status registers. Signed-off-by: Guenter Roeck Reviewed-by: Jean Delvare --- Reading git-diff-tree failed