diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-30 04:25:13 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-01 16:30:25 (GMT) |
commit | 2afc6dff692ea37c2dff0bdba452a85fe522cffd (patch) | |
tree | 7a973ad8071df7d258524a8a801ce895aa77255b /drivers | |
parent | 1e5c76d40fd41194472b4c1b369d7d63df0bea03 (diff) | |
download | linux-fsl-qoriq-2afc6dff692ea37c2dff0bdba452a85fe522cffd.tar.xz |
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')
-rw-r--r-- | drivers/net/ethernet/ti/cpsw-phy-sel.c | 2 |
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 e092ede..148da9a 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, }, }; |