commit | f0f0277e362dd63a56c5cadc93df9958368f173e | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Wed Oct 07 21:32:38 2015 -0700 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Thu Oct 29 14:05:50 2015 -0500 |
tree | 6409c4282330e8d2a2a5c998ca2442a5f87cbe33 | |
parent | a961e1fd9440d87adc11c658d3ddf852d0a0a3c3 [diff] |
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>