]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: dwmac-ipq806x: turn setup callback into a probe function
authorJoachim Eastwood <manabian@gmail.com>
Tue, 28 Jul 2015 22:08:50 +0000 (00:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jul 2015 07:13:22 +0000 (00:13 -0700)
commit4accc3af8a4e4d64ce9372727d2b361db052210d
tree87713c72ad39f65deee960c32b7207c99922c3d7
parent593c91b65366c3a04c4900b6eebeef6fb7dc7b3c
stmmac: dwmac-ipq806x: 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-ipq806x.c