Commit 81d463c0 authored by Ruan Jinjie's avatar Ruan Jinjie Committed by David S. Miller
Browse files

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: default avatarRuan Jinjie <ruanjinjie@huawei.com>
Reviewed-by: default avatarVladimir Oltean <olteanv@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aae249df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1314,7 +1314,7 @@ MODULE_DEVICE_TABLE(of, a5psw_of_mtable);
static struct platform_driver a5psw_driver = {
	.driver = {
		.name	 = "rzn1_a5psw",
		.of_match_table = of_match_ptr(a5psw_of_mtable),
		.of_match_table = a5psw_of_mtable,
	},
	.probe = a5psw_probe,
	.remove = a5psw_remove,