diff options
author | Christian Marangi <[email protected]> | 2022-10-22 14:56:55 +0200 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2022-12-14 15:25:40 +0100 |
commit | de48d8766afcd97d147699aaff78a338081c9973 (patch) | |
tree | f55f0bdf206aa24848cf6d8c2263332ac5df884a /lib/mpi/mpi-sub-ui.c | |
parent | 6840455debd38ea82b1f9fbbf8019944da36f7eb (diff) |
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 <[email protected]>
Acked-by: Thara Gopinath <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions