]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdd4b93dbc8e9197af7dbd08fee9329b57de45b51
treeec7b198033fa9c11c67bfe13849a3a8adb53d489
parent54f9f46b1dc77749d09ba5b72430b6e23f0999d2
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