diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-30 09:55:13 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-01 12:30:25 -0400 |
commit | 2afc6dff692ea37c2dff0bdba452a85fe522cffd (patch) | |
tree | 7a973ad8071df7d258524a8a801ce895aa77255b /drivers/net/ethernet/ti | |
parent | 1e5c76d40fd41194472b4c1b369d7d63df0bea03 (diff) | |
download | op-kernel-dev-2afc6dff692ea37c2dff0bdba452a85fe522cffd.zip op-kernel-dev-2afc6dff692ea37c2dff0bdba452a85fe522cffd.tar.gz |
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.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, }, }; |