Files
linux/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 <[email protected]>
Signed-off-by: Eduardo Valentin <[email protected]>
2019-02-20 17:23:39 -08:00
..