summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-30 14:15:32 +0530
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-10-09 12:35:45 +0300
commita17016f0a69e3752a60588ddc151ebac13e04116 (patch)
tree66390afeff314bb98d48e531da4374d625dba67b /drivers/video
parentd71f8cdfdb745084bba33d73c476fb0008c8053c (diff)
downloadop-kernel-dev-a17016f0a69e3752a60588ddc151ebac13e04116.zip
op-kernel-dev-a17016f0a69e3752a60588ddc151ebac13e04116.tar.gz
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 3072f30..2bf6180 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,
},
};
OpenPOWER on IntegriCloud