Browse Source

usb: host: ehci-platform: Remove redundant use of of_match_ptr

'vt8500_ehci_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
ae5e5f7bda
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/usb/host/ehci-platform.c

+ 1 - 1
drivers/usb/host/ehci-platform.c

@@ -223,7 +223,7 @@ static struct platform_driver ehci_platform_driver = {
 		.owner	= THIS_MODULE,
 		.name	= "ehci-platform",
 		.pm	= &ehci_platform_pm_ops,
-		.of_match_table = of_match_ptr(vt8500_ehci_ids),
+		.of_match_table = vt8500_ehci_ids,
 	}
 };