mbox series

[v2,0/2] Minor fix for qcom tsens driver

Message ID 20210429010518.13319-1-ansuelsmth@gmail.com
Headers show
Series Minor fix for qcom tsens driver | expand


Ansuel Smith April 29, 2021, 1:05 a.m. UTC
This is a small series to fix some warning arised testing the 8960 tsens
driver. 8960 calibration function can return PROBE_DEFER and cause
reregistration of debugfs. Move debugfs registration deeper in the probe
function and fix a small problem with wrong tsens version reported. 

- Address review comments from Thara

Ansuel Smith (2):
  thermal: qcom: tsens: init debugfs only with successful probe
  thermal: qcom: tsens: simplify debugfs init function

 drivers/thermal/qcom/tsens.c | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)