dsa: dsa: Fix freeing of fixed-phys from user ports.
authorAndrew Lunn <andrew@lunn.ch>
Fri, 11 Mar 2016 23:01:39 +0000 (00:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2016 19:43:11 +0000 (15:43 -0400)
commitec777e6b4254648be51146d4e7d735ee3d06bd13
tree92809901fac32cd105b1f6b52274a52010b28888
parent3a44514ff979d7b0192a9f67445509f4ea7dfe2f
dsa: dsa: Fix freeing of fixed-phys from user ports.

All ports types can have a fixed PHY associated with it. Remove the
check which limits removal to only CPU and DSA ports.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c