From: Jean Delvare Date: Sat, 24 Jan 2015 13:16:21 +0000 (+0100) Subject: hwmon: (i5500_temp) Don't bind to disabled sensors X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~236^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3d982034dd74b32f621fcba7adeb77716fa0fb4;p=pandora-kernel.git hwmon: (i5500_temp) Don't bind to disabled sensors On many motherboards, for an unknown reason, the thermal sensor seems to be disabled and will return a constant temperature value of 36.5 degrees Celsius. Don't bind to the device in that case, so that we don't report this bogus value to userspace. Signed-off-by: Jean Delvare Cc: Romain Dolbeau Reviewed-by: Guenter Roeck --- Reading git-diff-tree failed