summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-30 14:15:33 +0530
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-10-09 12:35:45 +0300
commit421ee4eafc2fbd1394d40c8c36da122cc08687f5 (patch)
tree45dab3847c6a803dd4705e39ad9bdc2b5ecc7cbd
parenta17016f0a69e3752a60588ddc151ebac13e04116 (diff)
downloadlinux-421ee4eafc2fbd1394d40c8c36da122cc08687f5.tar.gz
linux-421ee4eafc2fbd1394d40c8c36da122cc08687f5.tar.bz2
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>
-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,
},
};