commit | 1870d4d7bd229e5e06d660108046656ea24821d4 | [log] [tgz] |
---|---|---|
author | Wenyou Yang <wenyou.yang@atmel.com> | Fri Apr 14 14:36:04 2017 +0800 |
committer | Simon Glass <sjg@chromium.org> | Tue May 09 12:14:15 2017 -0600 |
tree | b78d57b0ef96dc4afadcb195ab8c1a6516d778e3 | |
parent | 1c0ac8222a3fe2f4be5fb0a8368cddf4f692193f [diff] |
net: macb: Add remove callback To avoid the failure of mdio_register(), add the remove callback to unregister the mii_dev when removing the ethernet device. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Fixed up unused variable warning, e.g. for gurnard: Signed-off-by: Simon Glass <sjg@chromium.org>