]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: dwmac-sti: turn setup callback into a probe function
authorJoachim Eastwood <manabian@gmail.com>
Tue, 28 Jul 2015 22:08:55 +0000 (00:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jul 2015 07:13:23 +0000 (00:13 -0700)
commitc4a18c246b69418ead0033bb5df35dba950cbd86
treef55adbbf9b85d47c0e3ffeba5d86e22afd120084
parent9c83b90a935c451010384eff5d7521e4c57613ac
stmmac: dwmac-sti: turn setup callback into a probe function

By using a few functions from stmmac_platform a proper probe
function can be created from the setup glue callback. This
makes it look more like a standard driver and prepares the
driver for further clean ups.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c