net: dsa: mv88e6xxx: Push locking into stats snapshotting
authorTobias Waldekranz <tobias@waldekranz.com>
Thu, 14 Dec 2023 13:50:22 +0000 (14:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2023 11:05:02 +0000 (11:05 +0000)
commitd624afaf4c792457d5ffa0037156f66cdfc1df18
treeea558c38f5624958d3663859d8289a71106ae372
parent9ed816b106bb40be6f1254696c6887e48f2a2b8f
net: dsa: mv88e6xxx: Push locking into stats snapshotting

This is more consistent with the driver's general structure.

Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c