From 2afc6dff692ea37c2dff0bdba452a85fe522cffd Mon Sep 17 00:00:00 2001 From: Sachin Kamat Date: Mon, 30 Sep 2013 09:55:13 +0530 Subject: [PATCH] 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 Acked-by: Mugunthan V N Signed-off-by: David S. Miller --- drivers/net/ethernet/ti/cpsw-phy-sel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }, }; -- 2.30.2