[PATCH] net: mediatek: use of_device_get_match_data()

David Miller davem at davemloft.net
Mon Apr 16 10:43:33 PDT 2018


From: Ryder Lee <ryder.lee at mediatek.com>
Date: Mon, 16 Apr 2018 10:33:41 +0800

> 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 at mediatek.com>

Applied to net-next.



More information about the Linux-mediatek mailing list