OpenCloudOS-Kernel/drivers/thermal/qcom
Peng Hao a245b62be3 thermal/qcom/tsens-common : fix possible object reference leak
of_find_device_by_node() takes a reference to the struct device
when it finds a match via get_device.
We also should make sure to drop the reference to the device
taken by of_find_device_by_node() when returning error.

Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2019-02-20 17:23:39 -08:00
..
Kconfig drivers: thermal: Move QCOM_SPMI_TEMP_ALARM into the qcom subdir 2018-12-07 16:49:02 +08:00
Makefile drivers: thermal: Move QCOM_SPMI_TEMP_ALARM into the qcom subdir 2018-12-07 16:49:02 +08:00
qcom-spmi-temp-alarm.c drivers: thermal: Move QCOM_SPMI_TEMP_ALARM into the qcom subdir 2018-12-07 16:49:02 +08:00
tsens-8916.c thermal: tsens: Pass register offsets as private data 2018-10-22 17:34:33 -07:00
tsens-8960.c thermal: tsens: Rename map field in order to add a second address map 2018-10-22 17:33:23 -07:00
tsens-8974.c thermal: tsens: Pass register offsets as private data 2018-10-22 17:34:33 -07:00
tsens-common.c thermal/qcom/tsens-common : fix possible object reference leak 2019-02-20 17:23:39 -08:00
tsens-v2.c thermal: tsens: Pass register offsets as private data 2018-10-22 17:34:33 -07:00
tsens.c thermal: tsens: Pass register offsets as private data 2018-10-22 17:34:33 -07:00
tsens.h thermal: tsens: Pass register offsets as private data 2018-10-22 17:34:33 -07:00