]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: update dsa_of_{probe, remove} to use a device pointer
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 5 Mar 2015 20:35:04 +0000 (12:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Mar 2015 05:18:20 +0000 (00:18 -0500)
commitde60a044f8e0640e7ca3ab5c1324309ce858af7d
tree971ed79d0d42a376dbb4b9dd7182310f4a5a2aad
parent13d8574bad65ad29bee9b4a43b89636fb6f77f7f
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>
net/dsa/dsa.c