serial: vt8500: Remove redundant use of of_match_ptr macro
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 22 May 2013 11:36:29 +0000 (17:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2013 17:21:33 +0000 (10:21 -0700)
'wmt_dt_ids' is always compiled in. Hence of_match_ptr is not
necessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/vt8500_serial.c

index 1a8bc2275ea4f190e9d994cb7e3786069f168a7e..48af43de34677d17343cc7e95b99f54cb5d821a9 100644 (file)
@@ -648,7 +648,7 @@ static struct platform_driver vt8500_platform_driver = {
        .driver = {
                .name = "vt8500_serial",
                .owner = THIS_MODULE,
-               .of_match_table = of_match_ptr(wmt_dt_ids),
+               .of_match_table = wmt_dt_ids,
        },
 };