summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/socionext/netsec.c
diff options
context:
space:
mode:
authorRyder Lee2018-04-16 04:33:41 +0200
committerDavid S. Miller2018-04-16 19:43:07 +0200
commiteda7d46da443e154cbc8f7c1d68acc5088d38181 (patch)
tree98b838c100a21f4b35e9c18df1634a67b9418f2d /drivers/net/ethernet/socionext/netsec.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadkernel-qcow2-linux-eda7d46da443e154cbc8f7c1d68acc5088d38181.tar.gz
kernel-qcow2-linux-eda7d46da443e154cbc8f7c1d68acc5088d38181.tar.xz
kernel-qcow2-linux-eda7d46da443e154cbc8f7c1d68acc5088d38181.zip
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>
Diffstat (limited to 'drivers/net/ethernet/socionext/netsec.c')
0 files changed, 0 insertions, 0 deletions