From: Pali Rohár Date: Mon, 12 Jan 2015 13:31:58 +0000 (+0100) Subject: i8k: Register only temperature sensors which have labels X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~85^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=672af223305791c3a814ec8c4fb841dc75277f48;p=pandora-kernel.git i8k: Register only temperature sensors which have labels Detect presense of sensor by calling type function instead trying to read temperature value. Type function is working also for sensors which are temporary turned off (e.g on GPU which is turned off). Dell DOS binary NBSVC.MDM is doing similar checks, so we should do that too. Signed-off-by: Pali Rohár Reviewed-by: Guenter Roeck Tested-by: Guenter Roeck Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed