net: dsa: Pass device pointer to dsa_register_switch
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 26 Jan 2017 18:45:51 +0000 (10:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Jan 2017 20:43:52 +0000 (15:43 -0500)
commit55ed0ce0898e15fec30d2ca2a563d7934b082375
tree16e0eb4137314defd4b06242a4ef47f315232b3c
parent80c8eae6ee66b52e1304c9ffd02b4472d5976608
net: dsa: Pass device pointer to dsa_register_switch

In preparation for allowing dsa_register_switch() to be supplied with
device/platform data, pass down a struct device pointer instead of a
struct device_node.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_common.c
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/qca8k.c
include/net/dsa.h
net/dsa/dsa2.c