]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: remove setup/free glue callbacks
authorJoachim Eastwood <manabian@gmail.com>
Tue, 28 Jul 2015 22:09:03 +0000 (00:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jul 2015 07:13:25 +0000 (00:13 -0700)
commit61d769e00dd5178b95cb481dc91b1042e3d55945
tree7f54431e876b55b37680c8013519b43ce01cda88
parent7f498ba668065f3ca5bc372025fbcb244a39ca10
stmmac: remove setup/free glue callbacks

As all dwmac-* drivers have been converted to have a proper probe
function the setup callback can now be removed. Also remove the
free callback that wasn't used by any driver.

New dwmac-* drivers should implement standard probe and remove
functions to preform any needed setup and teardown.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/stmmac.txt
drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
include/linux/stmmac.h