Browse Source

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

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

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@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
2c398f3e4a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/usb/host/ehci-spear.c

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

@@ -174,7 +174,7 @@ static struct platform_driver spear_ehci_hcd_driver = {
 		.name = "spear-ehci",
 		.bus = &platform_bus_type,
 		.pm = &ehci_spear_pm_ops,
-		.of_match_table = of_match_ptr(spear_ehci_id_table),
+		.of_match_table = spear_ehci_id_table,
 	}
 };