commit | 711fdba37a3dd7ee487e28767f9f0e67144cbf80 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Wed Jan 06 20:11:27 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 07 14:31:27 2016 -0500 |
tree | e152e8b038e05908c7fb1271f751dfa8462d6034 | |
parent | a9049e0c513c4521dbfaa302af8ed08b3366b41f [diff] |
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>