diff options
author | 2022-09-24 07:02:57 +0000 | |
---|---|---|
committer | 2022-09-24 13:03:49 +0530 | |
commit | 4c0255e7957d5a536c6da7ba08cbb46540fb5d42 (patch) | |
tree | 06a4528e9473191ec87ebf668f2de545659785a1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | phy: qualcomm: call clk_disable_unprepare in the error handling (diff) | |
download | linux-dev-4c0255e7957d5a536c6da7ba08cbb46540fb5d42.tar.xz linux-dev-4c0255e7957d5a536c6da7ba08cbb46540fb5d42.zip |
phy: qcom-qmp-combo: Use dev_err_probe() to simplify code
In the probe path, dev_err() can be replaced with dev_err_probe()
which will check if error code is -EPROBE_DEFER and prints the
error name. It also sets the defer probe reason which can be
checked later through debugfs.
Signed-off-by: Yuan Can <yuancan@huawei.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Link: https://lore.kernel.org/r/20220924070300.25080-2-yuancan@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions