diff options
| author | Bartosz Golaszewski <[email protected]> | 2023-06-23 10:04:15 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-06-24 22:36:00 +0000 |
| commit | 061425d933ef9259dbe3789a3a3c63063f53202d (patch) | |
| tree | 184c46af7134cf32c9bbfa4fa3ec5a429b8e8232 /net/unix/af_unix.c | |
| parent | net: stmmac: platform: provide devm_stmmac_probe_config_dt() (diff) | |
| download | kernel-061425d933ef9259dbe3789a3a3c63063f53202d.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
