thermal/drivers/qcom: Demote error log of thermal zone register to debug
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Sat, 29 Oct 2022 05:29:33 +0000 (10:59 +0530)
committerDaniel Lezcano <daniel.lezcano@kernel.org>
Wed, 14 Dec 2022 14:25:40 +0000 (15:25 +0100)
commit2baad2496383c6036bdb0945ef8aa6b1a5d18c19
tree8a5f38a6e8534035d55b5d32452c31efc12ef3ea
parent8763f8acbf8aef22a2321d4c978cd078aa3b8f64
thermal/drivers/qcom: Demote error log of thermal zone register to debug

devm_thermal_of_zone_register() can fail with -ENODEV if thermal zone for
the channel is not represented in DT. This is perfectly fine since not all
sensors needs to be used for thermal zones but only a few in real world.

So demote the error log to debug to avoid spamming users.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20221029052933.32421-1-manivannan.sadhasivam@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
drivers/thermal/qcom/qcom-spmi-adc-tm5.c