Browse Source

usb: phy: phy-nop: Remove redundant use of of_match_ptr

'nop_xceiv_dt_ids' is always compiled in. Hence use of
of_match_ptr is unnecessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Sachin Kamat 12 years ago
parent
commit
5462b0db83
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/usb/phy/phy-nop.c

+ 1 - 1
drivers/usb/phy/phy-nop.c

@@ -272,7 +272,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,
 	},
 };