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>
This commit is contained in:
parent
aae249dfa0
commit
81d463c02b
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user