Skip to content

Commit

Permalink
net: ethernet: cpsw-phy-sel: Remove redundant of_match_ptr
Browse files Browse the repository at this point in the history
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.

Signed-off-by: Sachin Kamat <[email protected]>
Acked-by: Mugunthan V N <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Sachin Kamat authored and davem330 committed Oct 1, 2013
1 parent 1e5c76d commit 2afc6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/ti/cpsw-phy-sel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};

Expand Down

0 comments on commit 2afc6df

Please sign in to comment.