]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: rename references to "lag" as "lag_dev"
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 23 Feb 2022 14:00:44 +0000 (16:00 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 25 Feb 2022 05:31:42 +0000 (21:31 -0800)
commit609cabb7ad54b85c541480fe5b86aef4f5a9c414
treead37bf735b0e746660126e8408f1cda4a25c81c2
parentcbf4e2965567f748586889f4b216967e0d07e0c8
net: dsa: rename references to "lag" as "lag_dev"

In preparation of converting struct net_device *dp->lag_dev into a
struct dsa_lag *dp->lag, we need to rename, for consistency purposes,
all occurrences of the "lag" variable in the DSA core to "lag_dev".

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/dsa.h
net/dsa/dsa2.c
net/dsa/dsa_priv.h
net/dsa/port.c
net/dsa/switch.c