diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2022-10-22 15:56:55 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2022-12-14 17:25:40 +0300 |
commit | de48d8766afcd97d147699aaff78a338081c9973 (patch) | |
tree | f55f0bdf206aa24848cf6d8c2263332ac5df884a /scripts/lib/kdoc/kdoc_output.py | |
parent | 6840455debd38ea82b1f9fbbf8019944da36f7eb (diff) | |
download | linux-de48d8766afcd97d147699aaff78a338081c9973.tar.xz |
thermal/drivers/qcom/tsens: Init debugfs only with successful probe
Calibrate and tsens_register can fail or PROBE_DEFER. This will cause a
double or a wrong init of the debugfs information. Init debugfs only
with successful probe fixing warning about directory already present.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Acked-by: Thara Gopinath <thara.gopinath@linaro.org>
Link: https://lore.kernel.org/r/20221022125657.22530-2-ansuelsmth@gmail.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions