Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2afc6dff authored by Sachin Kamat's avatar Sachin Kamat Committed by David S. Miller
Browse files

net: ethernet: cpsw-phy-sel: 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 <sachin.kamat@linaro.org>
Acked-by: default avatarMugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1e5c76d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -152,7 +152,7 @@ static struct platform_driver cpsw_phy_sel_driver = {
	.driver		= {
		.name	= "cpsw-phy-sel",
		.owner	= THIS_MODULE,
		.of_match_table = of_match_ptr(cpsw_phy_sel_id_table),
		.of_match_table = cpsw_phy_sel_id_table,
	},
};