summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-30 10:45:32 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-10-09 11:35:45 +0200
commita17016f0a69e3752a60588ddc151ebac13e04116 (patch)
tree66390afeff314bb98d48e531da4374d625dba67b /drivers/video
parentvideo: ssd1307fb: Remove redundant of_match_ptr (diff)
downloadlinux-a17016f0a69e3752a60588ddc151ebac13e04116.tar.xz
linux-a17016f0a69e3752a60588ddc151ebac13e04116.zip
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 <sachin.kamat@linaro.org> Cc: Ed Spiridonov <edo.rus@gmail.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/wm8505fb.c2
1 files changed, 1 insertions, 1 deletions
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,
},
};