diff options
author | Guangqing Zhu <zhuguangqing83@gmail.com> | 2021-04-04 20:54:31 +0800 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2021-04-15 13:21:42 +0200 |
commit | f4136863e8899fa0554343201b78b9e197c78a78 (patch) | |
tree | 8e59a9071ccd2b3cbdf67ef119520b7bb04b4100 /drivers/thermal/qcom/tsens-v0_1.c | |
parent | 5b5f1121d60bca8305951930d7aa2123fb213cb0 (diff) |
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: a7ff82976122 ("drivers: thermal: tsens: Merge tsens-common.c into tsens.c")
Signed-off-by: Guangqing Zhu <zhuguangqing83@gmail.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210404125431.12208-1-zhuguangqing83@gmail.com
Diffstat (limited to 'drivers/thermal/qcom/tsens-v0_1.c')
0 files changed, 0 insertions, 0 deletions