stmmac: add proper probe function to dwmac-lpc18xx
authorJoachim Eastwood <manabian@gmail.com>
Thu, 16 Jul 2015 22:26:10 +0000 (00:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2015 03:45:57 +0000 (20:45 -0700)
commitf4f8dfdedf1b1ff34a5e6ff71c9e80a1643a0622
tree895db9d27654df067a307fc86571a093245bd03a
parent402dae0bed98dd41c5d6ab321135e8568a54819e
stmmac: add proper probe function to dwmac-lpc18xx

By using a few functions from stmmac_platform we can now create
a proper probe function in this driver. By doing so we can drop
the OF match data and simplify the overall driver.

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