net: gemini: Remove redundant of_match_ptr()
authorRuan Jinjie <ruanjinjie@huawei.com>
Mon, 14 Aug 2023 02:55:17 +0000 (10:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Aug 2023 08:59:40 +0000 (09:59 +0100)
commit21b566fda00f1907b41a06fb0255746639e4579f
tree8d4798b4982de585f49b61a63664e34a59bcff79
parent81d463c02b910f4abb1415c365f9491e10333552
net: gemini: Remove redundant of_match_ptr()

The driver depends on CONFIG_OF, it is not necessary to use
of_match_ptr() here.

Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cortina/gemini.c