Skip to content
Commit f4136863 authored by Guangqing Zhu's avatar Guangqing Zhu Committed by Daniel Lezcano
Browse files

thermal/drivers/tsens: Fix missing put_device error

Fixes coccicheck error:

drivers/thermal/qcom/tsens.c:759:4-10: ERROR: missing put_device; call
of_find_device_by_node on line 715, but without a corresponding object
release within this function.

Fixes: a7ff8297

 ("drivers: thermal: tsens: Merge tsens-common.c into tsens.c")
Signed-off-by: default avatarGuangqing Zhu <zhuguangqing83@gmail.com>
Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210404125431.12208-1-zhuguangqing83@gmail.com
parent 5b5f1121
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment