diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2017-06-06 16:00:41 -0700 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2017-06-29 10:53:38 +0800 |
commit | 4ca0e75e46b6ee408bdc334fff449323d476812c (patch) | |
tree | 32a4956b33b22278e8c203b1e1d20f86aa7a3334 /drivers/thermal/thermal_sysfs.c | |
parent | 86326031e3d4dec828d966c19fe9fe1371d0a0a8 (diff) | |
download | linux-4ca0e75e46b6ee408bdc334fff449323d476812c.tar.bz2 |
thermal: int340x: check for sensor when PTYP is missing
For INT3403 sensor PTYP field is mandatory. But some platforms didn't
have this field for sensors. This cause load failure for int3403 driver.
This change checks for the presence of _TMP method and if present, then
treats this device as a sensor.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/thermal_sysfs.c')
0 files changed, 0 insertions, 0 deletions