OSDN Git Service

stmmac: dwmac-socfpga: kill init() and rename setup() to set_phy_mode()
authorJoachim Eastwood <manabian@gmail.com>
Sun, 1 May 2016 20:58:23 +0000 (22:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 May 2016 19:22:20 +0000 (15:22 -0400)
commit0f400a87dc59be9b485ffa820ca9ed904cacfcbb
tree583a5edff01687a434b7afff67b5933aeece47e5
parent537372472415b7b75856561d23891a0bf3477ea4
stmmac: dwmac-socfpga: kill init() and rename setup() to set_phy_mode()

Remove old init callback which now contains only a call to
socfpga_dwmac_setup(). Also rename socfpga_dwmac_setup() to indicate
what the function really does.

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