summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ti
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-30 09:55:13 +0530
committerDavid S. Miller <davem@davemloft.net>2013-10-01 12:30:25 -0400
commit2afc6dff692ea37c2dff0bdba452a85fe522cffd (patch)
tree7a973ad8071df7d258524a8a801ce895aa77255b /drivers/net/ethernet/ti
parent1e5c76d40fd41194472b4c1b369d7d63df0bea03 (diff)
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: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti')
-rw-r--r--drivers/net/ethernet/ti/cpsw-phy-sel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/cpsw-phy-sel.c b/drivers/net/ethernet/ti/cpsw-phy-sel.c
index e092edeab650..148da9ae8366 100644
--- a/drivers/net/ethernet/ti/cpsw-phy-sel.c
+++ b/drivers/net/ethernet/ti/cpsw-phy-sel.c
@@ -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,
},
};