summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-30 10:45:33 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-10-09 11:35:45 +0200
commit421ee4eafc2fbd1394d40c8c36da122cc08687f5 (patch)
tree45dab3847c6a803dd4705e39ad9bdc2b5ecc7cbd /drivers/video
parentvideo: wm8505fb: Remove redundant of_match_ptr (diff)
downloadlinux-421ee4eafc2fbd1394d40c8c36da122cc08687f5.tar.xz
linux-421ee4eafc2fbd1394d40c8c36da122cc08687f5.zip
video: wmt_ge_rops: 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: Alexey Charkov <alchark@gmail.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/wmt_ge_rops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/wmt_ge_rops.c b/drivers/video/wmt_ge_rops.c
index 4aaeb18223bc..d4ef841f5a14 100644
--- a/drivers/video/wmt_ge_rops.c
+++ b/drivers/video/wmt_ge_rops.c
@@ -169,7 +169,7 @@ static struct platform_driver wmt_ge_rops_driver = {
.driver = {
.owner = THIS_MODULE,
.name = "wmt_ge_rops",
- .of_match_table = of_match_ptr(wmt_dt_ids),
+ .of_match_table = wmt_dt_ids,
},
};