diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2022-11-02 18:26:30 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2022-12-14 17:25:40 +0300 |
commit | 6f8941646234e2d6e589377aea0dd1ba52365623 (patch) | |
tree | ce885963c19a7a6b413bf0ce54aa1ec69592430e /drivers/clk | |
parent | c464856e63a4c9631add6a27340bd94beb9eb27f (diff) | |
download | linux-6f8941646234e2d6e589377aea0dd1ba52365623.tar.xz |
thermal: qcom-spmi-adc-tm5: suppress probe-deferral error message
Drivers should not be logging errors on probe deferral. Switch to using
dev_err_probe() to log failures when parsing the devicetree to avoid
errors like:
qcom-spmi-adc-tm5 c440000.spmi:pmic@0:adc-tm@3400: get dt data failed: -517
when a channel is not yet available.
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Link: https://lore.kernel.org/r/20221102152630.696-1-johan+linaro@kernel.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions