From: Sachin Kamat Date: Mon, 30 Sep 2013 04:25:13 +0000 (+0530) Subject: net: ethernet: cpsw-phy-sel: Remove redundant of_match_ptr X-Git-Tag: accepted/tizen/common/20141203.182822~1141^2~256 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2afc6dff692ea37c2dff0bdba452a85fe522cffd;p=platform%2Fkernel%2Flinux-arm64.git 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 --- 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, }, };