net: mediatek: remove superfluous pin setup for MT7622 SoC
authorSean Wang <sean.wang@mediatek.com>
Wed, 20 Dec 2017 09:47:06 +0000 (17:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Dec 2017 17:05:46 +0000 (12:05 -0500)
commit243dc5fb4697a0d32e268c17cbfa22ada021c751
treeec7b198033fa9c11c67bfe13849a3a8adb53d489
parent0ca30e870ed28da15c871374af109055cd00744f
net: mediatek: remove superfluous pin setup for MT7622 SoC

Remove superfluous pin setup to get out of accessing invalid I/O pin
registers because the way for pin configuring tends to be different from
various SoCs and thus it should be better being managed and controlled by
the pinctrl driver which MT7622 already can support.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h