diff options
author | 2024-08-26 20:14:21 +0800 | |
---|---|---|
committer | 2024-08-30 15:14:18 +0100 | |
commit | d814fd0f046c2a6b1a919e1a529550bdfe9f9f9b (patch) | |
tree | 5418c638bab7c228a661a9d6fefd18d328f79aaa /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | spi: zynqmp-gqspi: Use devm_spi_alloc_host() (diff) | |
download | wireguard-linux-d814fd0f046c2a6b1a919e1a529550bdfe9f9f9b.tar.xz wireguard-linux-d814fd0f046c2a6b1a919e1a529550bdfe9f9f9b.zip |
spi: zynqmp-gqspi: Simplify with dev_err_probe()
Use the dev_err_probe() helper to simplify error handling during probe.
This also handle scenario, when EDEFER is returned and useless error
is printed.
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Link: https://patch.msgid.link/20240826121421.3384792-3-ruanjinjie@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions