From: Sachin Kamat Date: Mon, 30 Sep 2013 08:45:32 +0000 (+0530) Subject: video: wm8505fb: Remove redundant of_match_ptr X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a17016f0a69e3752a60588ddc151ebac13e04116;p=deliverable%2Flinux.git video: wm8505fb: 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: Ed Spiridonov Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/wm8505fb.c b/drivers/video/wm8505fb.c index 3072f30cad19..2bf618037b13 100644 --- a/drivers/video/wm8505fb.c +++ b/drivers/video/wm8505fb.c @@ -411,7 +411,7 @@ static struct platform_driver wm8505fb_driver = { .driver = { .owner = THIS_MODULE, .name = DRIVER_NAME, - .of_match_table = of_match_ptr(wmt_dt_ids), + .of_match_table = wmt_dt_ids, }, };