Input: ti_am335x_tsc - remove redundant of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Sun, 6 Oct 2013 07:53:52 +0000 (00:53 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 6 Oct 2013 08:22:26 +0000 (01:22 -0700)
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>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ti_am335x_tsc.c

index e1c5300cacfc2044f83175dccffd864a8bd01fbc..df9b24f7e2cb44efdb18e6b57fe4fa68562858b9 100644 (file)
@@ -505,7 +505,7 @@ static struct platform_driver ti_tsc_driver = {
                .name   = "TI-am335x-tsc",
                .owner  = THIS_MODULE,
                .pm     = TITSC_PM_OPS,
-               .of_match_table = of_match_ptr(ti_tsc_dt_ids),
+               .of_match_table = ti_tsc_dt_ids,
        },
 };
 module_platform_driver(ti_tsc_driver);