commit | 3f616b6053517927f564fc8ed6dc4a87bd39e857 | [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 | 5d2459fd466ebf86c717ccb28a8f56707a29724a [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>