commit | 55ed0ce0898e15fec30d2ca2a563d7934b082375 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Thu Jan 26 10:45:51 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 26 15:43:52 2017 -0500 |
tree | 16e0eb4137314defd4b06242a4ef47f315232b3c | |
parent | 80c8eae6ee66b52e1304c9ffd02b4472d5976608 [diff] |
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>