Commit 1e5c76d4 authored by Sachin Kamat's avatar Sachin Kamat Committed by David S. Miller
Browse files

net: ethernet: cpsw: Remove redundant of_match_ptr

The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.
Signed-off-by: default avatarSachin Kamat <>
Acked-by: default avatarMugunthan V N <>
Signed-off-by: default avatarDavid S. Miller <>
parent b3241870
......@@ -2217,7 +2217,7 @@ static struct platform_driver cpsw_driver = {
.name = "cpsw",
.owner = THIS_MODULE,
.pm = &cpsw_pm_ops,
.of_match_table = of_match_ptr(cpsw_of_mtable),
.of_match_table = cpsw_of_mtable,
.probe = cpsw_probe,
.remove = cpsw_remove,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment