commit | f1a26a062f03b27fa52f62487897fe205303fa7f | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Thu Mar 05 12:35:04 2015 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 06 00:18:20 2015 -0500 |
tree | 971ed79d0d42a376dbb4b9dd7182310f4a5a2aad | |
parent | 496127290f298d839918a14728b653b43ef02708 [diff] |
net: dsa: update dsa_of_{probe, remove} to use a device pointer In preparation for allowing a different mechanism to register DSA switch devices and driver, update dsa_of_probe and dsa_of_remove to take a struct device pointer since neither of these two functions uses the struct platform_device pointer. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>