diff options
author | 2023-06-23 12:04:15 +0200 | |
---|---|---|
committer | 2023-06-24 15:36:00 -0700 | |
commit | 061425d933ef9259dbe3789a3a3c63063f53202d (patch) | |
tree | 184c46af7134cf32c9bbfa4fa3ec5a429b8e8232 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: stmmac: platform: provide devm_stmmac_probe_config_dt() (diff) | |
download | wireguard-linux-061425d933ef9259dbe3789a3a3c63063f53202d.tar.xz wireguard-linux-061425d933ef9259dbe3789a3a3c63063f53202d.zip |
net: stmmac: dwmac-qco-ethqos: use devm_stmmac_probe_config_dt()
Significantly simplify the driver's probe() function by using the devres
variant of stmmac_probe_config_dt(). This allows to drop the goto jumps
entirely.
The remove_new() callback now needs to be switched to
stmmac_pltfr_remove_no_dt().
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20230623100417.93592-10-brgl@bgdev.pl
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions