From: Sachin Kamat Date: Mon, 30 Sep 2013 04:25:14 +0000 (+0530) Subject: net: can: c_can_platform: Remove redundant of_match_ptr X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=b85f75ea040223519101eb97ee95e23470a73b71;p=deliverable%2Flinux.git net: can: c_can_platform: 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 Cc: Marc Kleine-Budde Cc: linux-can@vger.kernel.org Signed-off-by: David S. Miller --- diff --git a/drivers/net/can/c_can/c_can_platform.c b/drivers/net/can/c_can/c_can_platform.c index 294ced3cc227..d66ac265269c 100644 --- a/drivers/net/can/c_can/c_can_platform.c +++ b/drivers/net/can/c_can/c_can_platform.c @@ -322,7 +322,7 @@ static struct platform_driver c_can_plat_driver = { .driver = { .name = KBUILD_MODNAME, .owner = THIS_MODULE, - .of_match_table = of_match_ptr(c_can_of_table), + .of_match_table = c_can_of_table, }, .probe = c_can_plat_probe, .remove = c_can_plat_remove,