Re: [PATCH] net: mediatek: use of_device_get_match_data()

From: David Miller
Date: Mon Apr 16 2018 - 13:43:43 EST


From: Ryder Lee <ryder.lee@xxxxxxxxxxxx>
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@xxxxxxxxxxxx>

Applied to net-next.