diff options
author | Zhang Zekun <zhangzekun11@huawei.com> | 2024-08-31 12:04:09 +0800 |
---|---|---|
committer | Krzysztof Wilczyński <kwilczynski@kernel.org> | 2025-03-06 09:30:15 +0000 |
commit | d5233478548309cab6bb327ddaa3c26038bdd785 (patch) | |
tree | e300071eaad2cdf6294d6af25ab73aaa9977f7b9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9a0f3c50bd51bd60cedbfeb37b55368fcb70b1b6 (diff) |
PCI: kirin: Tidy up _probe() related function with dev_err_probe()
The combination of dev_err() and the returned error code could be
replaced by dev_err_probe() in driver's probe function.
Thus, convert the code to use dev_err_probe() to make code simpler.
Suggested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20240831040413.126417-3-zhangzekun11@huawei.com
[kwilczynski: commit log, return -ETIMEDOUT from hi3660_pcie_phy_start()
rather than -EINVAL for when the PIPE clock fails to become stable,
drop redundant dev->of_node NULL check]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions