Skip to content
Commit eda7d46d authored by Ryder Lee's avatar Ryder Lee Committed by David S. Miller
Browse files

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: default avatarRyder Lee <ryder.lee@mediatek.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5d136594
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment