]> git.baikalelectronics.ru Git - kernel.git/commit
mdio: Abstract device_remove() and device_free()
authorAndrew Lunn <andrew@lunn.ch>
Wed, 6 Jan 2016 19:11:27 +0000 (20:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jan 2016 19:31:27 +0000 (14:31 -0500)
commiteb772c5a40b42fa1352c3d13325b2f98e1bf945f
treee152e8b038e05908c7fb1271f751dfa8462d6034
parent11c48ce728a339ec42311d1befb363604a998cd3
mdio: Abstract device_remove() and device_free()

Make device_free and device_remove operations in the mdio device
structure, so the core code does not need to differentiate between
phy devices and generic mdio devices.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio_bus.c
drivers/net/phy/mdio_device.c
drivers/net/phy/phy_device.c
include/linux/mdio.h