usb: phy: phy-nop: Remove redundant use of of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 21 May 2013 11:47:22 +0000 (17:17 +0530)
committerFelipe Balbi <balbi@ti.com>
Tue, 28 May 2013 17:14:39 +0000 (20:14 +0300)
'nop_xceiv_dt_ids' is always compiled in. Hence use of
of_match_ptr is unnecessary.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-nop.c

index 638cc5dade35227732e77e6c5ccb0d769eb47d8b..55445e5d72e597c4476ff62d0c471ce3fb9433a3 100644 (file)
@@ -270,7 +270,7 @@ static struct platform_driver nop_usb_xceiv_driver = {
        .driver         = {
                .name   = "nop_usb_xceiv",
                .owner  = THIS_MODULE,
-               .of_match_table = of_match_ptr(nop_xceiv_dt_ids),
+               .of_match_table = nop_xceiv_dt_ids,
        },
 };