]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
video: wmt_ge_rops: Remove redundant of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 30 Sep 2013 08:45:33 +0000 (14:15 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 9 Oct 2013 09:35:45 +0000 (12:35 +0300)
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>
drivers/video/wmt_ge_rops.c

index 4aaeb18223bcff371bfac7b9d8653f2c6fdef80b..d4ef841f5a14f6546e32a9ee4348d5ca78560540 100644 (file)
@@ -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,
        },
 };