linux-sg2042/drivers/net/ethernet/mediatek
Ryder Lee eda7d46da4 net: mediatek: use of_device_get_match_data()
The usage of of_device_get_match_data() reduce the code size a bit.

Also, the only way to call mtk_probe() is to match an entry in
of_mtk_match[], so match cannot be NULL.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-04-16 13:43:07 -04:00
..
Kconfig net-next: mediatek: add platform data to adapt into various hardware 2017-08-01 15:51:48 -07:00
Makefile
mtk_eth_soc.c net: mediatek: use of_device_get_match_data() 2018-04-16 13:43:07 -04:00
mtk_eth_soc.h net: mediatek: remove superfluous pin setup for MT7622 SoC 2017-12-26 12:05:46 -05:00