commit | feff27d81bfba1823d9d5dc490637a4337ffdcbb | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Wed Oct 07 21:32:39 2015 -0700 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Thu Oct 29 14:05:50 2015 -0500 |
tree | 161e9b0c0f5849c3146410694e7807fe03078241 | |
parent | f0f0277e362dd63a56c5cadc93df9958368f173e [diff] |
net: pch_gbe: Add driver remove support In pch_gbe_probe(), some additional resources are allocated (eg: mdio, phy). We should free these in the driver remove phase. Add pch_gbe_remove() to clean it up. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>