video: wm8505fb: Remove redundant of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 30 Sep 2013 08:45:32 +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: Ed Spiridonov <edo.rus@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/wm8505fb.c

index 3072f30cad1984d23309a2d3430adc2f60d625f8..2bf618037b13c05f9eb467068c674b7e39bc349a 100644 (file)
@@ -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,
        },
 };