OSDN Git Service

dsa: Remove master_dev from switch structure
authorAndrew Lunn <andrew@lunn.ch>
Tue, 10 May 2016 21:27:23 +0000 (23:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 May 2016 23:36:28 +0000 (19:36 -0400)
commitc33063d6a0d83a553faacf32f3cb834e63d8ecd7
tree789e0ef5e0cea80f757419483c3275a0990e048a
parent52638f71fcff9386fe64c83a18a129b122333fdf
dsa: Remove master_dev from switch structure

The switch drivers only use the master_dev member for dev_info()
messages.  Now that the device is passed to the old style probe, and
new style drivers are probed as true linux drivers, this is no longer
needed.

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