From: Guenter Roeck Date: Wed, 5 Jun 2013 21:09:30 +0000 (-0700) Subject: hwmon: (adm1021) Strengthen chip detection for ADM1021, LM84 and MAX1617 X-Git-Tag: v3.10-rc6~36^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=591bfcfc334a003ba31c0deff03b22e73349939b;p=pandora-kernel.git hwmon: (adm1021) Strengthen chip detection for ADM1021, LM84 and MAX1617 On a system with both MAX1617 and JC42 sensors, JC42 sensors can be misdetected as LM84. Strengthen detection sufficiently enough to avoid this misdetection. Also improve detection for ADM1021. Modeled after chip detection code in sensors-detect command. Cc: stable@vger.kernel.org Signed-off-by: Guenter Roeck Tested-by: Jean Delvare Acked-by: Jean Delvare --- Reading git-diff-tree failed