net: dsa: Move dsa_switch_{suspend,resume} out of legacy.c
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 2 Jun 2017 02:53:04 +0000 (19:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jun 2017 14:31:16 +0000 (10:31 -0400)
commitac2629a4797fdc839f7a4775cc141e6f53e064cf
tree42a940b27498dc275cce2fa15908f306d81dc873
parentd31353cd753c443ace5723d6878a39f393a0c136
net: dsa: Move dsa_switch_{suspend,resume} out of legacy.c

dsa_switch_suspend() and dsa_switch_resume() are functions that belong in
net/dsa/dsa.c and are not part of the legacy platform support code.

Fixes: a6a71f19fe5e ("net: dsa: isolate legacy code")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c
net/dsa/legacy.c