stmmac: dwmac-sti: clean up and rename sti_dwmac_init
authorJoachim Eastwood <manabian@gmail.com>
Fri, 4 Nov 2016 17:54:10 +0000 (18:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Nov 2016 03:00:15 +0000 (22:00 -0500)
commit0eebedc2fd284e145fe054a87254b112f9b5ada4
tree50d89b094ae31b73b2a05338a4200ca339eed396
parentb89cbfb01a2855b5c4e2f9121195439ac210d65b
stmmac: dwmac-sti: clean up and rename sti_dwmac_init

Rename sti_dwmac_init to sti_dwmac_set_mode which is a better
description for what it really does.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Tested-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c