[PATCH PARTIAL RESEND 0/2] net: mvpp2: rework child node/port removal handling

From: Javier Carrasco
Date: Thu Aug 08 2024 - 05:48:04 EST


These two patches used to be part of another series [1] that did not
apply to the networking tree without conflicts. This is therefore just a
partial resend with no code modifications, just rebased onto net/main.

Link: https://lore.kernel.org/all/20240806181026.5fe7f777@xxxxxxxxxx/ [1]
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx>
---
Javier Carrasco (2):
net: mvpp2: use port_count to remove ports
net: mvpp2: use device_for_each_child_node() to access device child nodes

drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 31 +++++++------------------
1 file changed, 9 insertions(+), 22 deletions(-)
---
base-commit: b928e7d19dfd8a336e13ec0d21e1d60dc285efd5
change-id: 20240807-mvpp2_child_nodes-b92f8eae0f87

Best regards,
--
Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx>