From: Guenter Roeck Date: Mon, 27 Jun 2011 18:22:46 +0000 (-0700) Subject: hwmon: (lm95241) Fix chip detection code X-Git-Tag: v3.0-rc7~10^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27739e694a3c34b5e371575d74e500d60111c689;p=pandora-kernel.git hwmon: (lm95241) Fix chip detection code The LM95241 driver accepts every chip ID equal to or larger than 0xA4 as its own, and other chips such as LM95245 use chip IDs in the accepted ID range. This results in false chip detection. Fix problem by accepting only the known LM95241 chip ID. Signed-off-by: Guenter Roeck Acked-by: Jean Delvare Cc: stable@kernel.org # 2.6.30+ --- Reading git-diff-tree failed