]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: designware: Add driver remove support
authorBin Meng <bmeng.cn@gmail.com>
Thu, 8 Oct 2015 04:32:38 +0000 (21:32 -0700)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 29 Oct 2015 19:05:50 +0000 (14:05 -0500)
commit5d2459fd466ebf86c717ccb28a8f56707a29724a
tree6409c4282330e8d2a2a5c998ca2442a5f87cbe33
parentcb6baca77bca0ef999203a7ed73bd123e7da062e
net: designware: Add driver remove support

In designware_eth_probe(), some additional resources are allocated
(eg: mdio, phy). We should free these in the driver remove phase.
Add designware_eth_remove() to clean it up.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/net/designware.c