commit | 44835eadb72dc912137d26f1453fa08899bbb5e4 | [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 | 1646bb4a677f1b915571139c71a967a98394098f [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>