net: dsa: rzn1-a5psw: Remove redundant of_match_ptr()
authorRuan Jinjie <ruanjinjie@huawei.com>
Mon, 14 Aug 2023 02:55:16 +0000 (10:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Aug 2023 08:59:40 +0000 (09:59 +0100)
commit81d463c02b910f4abb1415c365f9491e10333552
treeb2d775ec6ce7765ba963cd8861503099fa5c15df
parentaae249dfa089c0c9d845ef18d70c0b7ef367df64
net: dsa: rzn1-a5psw: 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>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/rzn1_a5psw.c