]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: dwmac-socfpga: turn setup callback into a probe function
authorJoachim Eastwood <manabian@gmail.com>
Tue, 28 Jul 2015 22:08:52 +0000 (00:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jul 2015 07:13:23 +0000 (00:13 -0700)
commit968f98e48ecf4f079e742375d5dd3f771b5904dd
tree2014aad3db678413678ee6586140319be7e9f116
parent7ee11db79143a96fdd9eacdd8a701b3f1fc209ab
stmmac: dwmac-socfpga: 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 the OF match
data can also be dropped.

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