Thermal/int340x: Handle properly the case when _trt or _art acpi entry is missing
authorIlkka Koskinen <ilkka.koskinen@linux.intel.com>
Tue, 9 Dec 2014 20:34:03 +0000 (12:34 -0800)
committerZhang Rui <rui.zhang@intel.com>
Sun, 21 Dec 2014 13:27:25 +0000 (21:27 +0800)
If either of the entries was missing, the driver tried to free memory
using uninitialized pointer. In addition, it was dereferencing null
pointer.

Signed-off-by: Ilkka Koskinen <ilkka.koskinen@linux.intel.com>
Acked-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>

No differences found