diff options
author | Zhang Zekun <zhangzekun11@huawei.com> | 2024-09-09 15:29:21 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2024-10-29 23:04:31 +0300 |
commit | cd8ec43758a5ca91c5503d1cde2df95e05b968ca (patch) | |
tree | 4ef7904659abfb8a12f18c71e88b95e59b02010b /tools/perf/scripts/python/syscall-counts.py | |
parent | 876b405004842b10a684f06f967502d20d64384f (diff) | |
download | linux-cd8ec43758a5ca91c5503d1cde2df95e05b968ca.tar.xz |
soc: qcom: smp2p: Simplify code with dev_err_probe()
Use dev_err_probe() directly in the driver probe phase, and we
don't need to judge if the error code is not equal to -EPROBE_DEFER.
This can simplify the code a bit.
Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Link: https://lore.kernel.org/r/20240909122921.12627-5-zhangzekun11@huawei.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions