aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-09-24 20:36:28 +0100
committerDavid S. Miller <davem@davemloft.net>2015-09-24 23:04:53 -0700
commit38737e490d4ea91660d3cec83ef88c4e6d360ae4 (patch)
treea9625f15c9946760d6b98f2637526001814c97df /net
parentphy: fixed-phy: properly validate phy in fixed_phy_update_state() (diff)
downloadlinux-dev-38737e490d4ea91660d3cec83ef88c4e6d360ae4.tar.xz
linux-dev-38737e490d4ea91660d3cec83ef88c4e6d360ae4.zip
phy: add phy_device_remove()
Add a phy_device_remove() function to complement phy_device_register(), which undoes the effects of phy_device_register() by removing the phy device from visibility, but not freeing it. This allows these details to be moved out of the mdio bus code into the phy code where this action belongs. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions