aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-30 00:25:14 -0400
committerDavid S. Miller <davem@davemloft.net>2013-10-01 12:30:25 -0400
commitb85f75ea040223519101eb97ee95e23470a73b71 (patch)
tree00a9703e2202317b6bfb7779e4cdf2479b2d937c /drivers/net/can
parent2afc6dff692ea37c2dff0bdba452a85fe522cffd (diff)
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 <sachin.kamat@linaro.org> Cc: Marc Kleine-Budde <mkl@pengutronix.de> Cc: linux-can@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can')
-rw-r--r--drivers/net/can/c_can/c_can_platform.c2
1 files changed, 1 insertions, 1 deletions
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 = {
322 .driver = { 322 .driver = {
323 .name = KBUILD_MODNAME, 323 .name = KBUILD_MODNAME,
324 .owner = THIS_MODULE, 324 .owner = THIS_MODULE,
325 .of_match_table = of_match_ptr(c_can_of_table), 325 .of_match_table = c_can_of_table,
326 }, 326 },
327 .probe = c_can_plat_probe, 327 .probe = c_can_plat_probe,
328 .remove = c_can_plat_remove, 328 .remove = c_can_plat_remove,