diff options
| author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2024-06-11 15:54:26 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-06-13 17:07:10 -0700 |
| commit | 1763b155da022ac0f984463e68cb0cda8ffc1fe8 (patch) | |
| tree | c13556b5fe57a2eeff8db581247f35a73559cce1 /tools/perf/scripts/python/sched-migration.py | |
| parent | dd6d364e1895211df8a8fe02c2a5a0b2a7049957 (diff) | |
net: dsa: lantiq_gswip: Use dev_err_probe where appropriate
dev_err_probe() can be used to simplify the existing code. Also it means
we get rid of the following warning which is seen whenever the PMAC
(Ethernet controller which connects to GSWIP's CPU port) has not been
probed yet:
gswip 1e108000.switch: dsa switch register failed: -517
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Link: https://lore.kernel.org/r/20240611135434.3180973-5-ms@dev.tdt.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
