diff options
author | Luiz Angelo Daros de Luca <luizluca@gmail.com> | 2024-02-09 08:03:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-12 13:42:17 +0300 |
commit | 68c66d8d8a19088967a0ab6bb98cb5ecc80ca0be (patch) | |
tree | b30a898ff18b2390a3ce659d8faf1adb6ec563b4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8685c98d45c54346caf005de69988e13c731c533 (diff) | |
download | linux-68c66d8d8a19088967a0ab6bb98cb5ecc80ca0be.tar.xz |
net: dsa: realtek: clean user_mii_bus setup
Remove the line assigning dev.of_node in mdio_bus as subsequent
of_mdiobus_register will always overwrite it.
As discussed in [1], allow the DSA core to be simplified, by not
assigning ds->user_mii_bus when the MDIO bus is described in OF, as it
is unnecessary.
Since commit 3b73a7b8ec38 ("net: mdio_bus: add refcounting for fwnodes
to mdiobus"), we can put the "mdio" node just after the MDIO bus
registration.
[1] https://lkml.kernel.org/netdev/20231213120656.x46fyad6ls7sqyzv@skbuf/T/#u
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions