stmmac: dwmac-rk: use rk_gmac_ops as of match data
authorJoachim Eastwood <manabian@gmail.com>
Tue, 28 Jul 2015 22:09:01 +0000 (00:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jul 2015 07:13:24 +0000 (00:13 -0700)
commitf529f18255ed5fbb888498cfaa8cad63eab629e4
tree2957342e5af1a6affbb047073bf494dec41c27f8
parent92c2588fc60c06525c2ef8d6de5b2314c202c3be
stmmac: dwmac-rk: use rk_gmac_ops as of match data

Remove the setup glue callback and use rk_gmac_ops as OF match
data so it can used directly when calling rk_gmac_setup.

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