summaryrefslogtreecommitdiff
path: root/str.c
diff options
context:
space:
mode:
Diffstat (limited to 'str.c')
0 files changed, 0 insertions, 0 deletions
>patch) treea63a457dfaa6d4196a7bce8dfaed28eb67b5af5e parent9c26542685130ef3b55cdb4e04eec0ac33376b41 (diff)
net: dsa: change state setter scope
The scope of the functions inside net/dsa/slave.c must be the slave net_device pointer. Change to state setter helper accordingly to simplify callers. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat
-rw-r--r--net/dsa/slave.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c