Thermal/int340x: Clear the error value of the last acpi_bus_get_device() call
authorIlkka Koskinen <ilkka.koskinen@linux.intel.com>
Tue, 9 Dec 2014 02:01:31 +0000 (18:01 -0800)
committerZhang Rui <rui.zhang@intel.com>
Tue, 9 Dec 2014 06:05:05 +0000 (14:05 +0800)
commite413ad7cca9f541659ac0ddf8f37e2bcfade365a
tree3d24725a6528bda480422059b2f35a9b7321d21e
parent341203167f9138073853cecd1f02d180bf9924ca
Thermal/int340x: Clear the error value of the last acpi_bus_get_device() call

Previously the return value of the last acpi_bus_get_device() was
returned. However, since we only report those issues, it should be
cleared to continue as expected.

Signed-off-by: Ilkka Koskinen <ilkka.koskinen@linux.intel.com>
Acked-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
drivers/thermal/int340x_thermal/acpi_thermal_rel.c