aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-21 07:47:17 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-21 14:42:12 -0400
commit2c398f3e4a5f791ac7ce0d7a5fc963a7e067aa66 (patch)
treed99190c206b3dd6f2dfca14e7dff2cbcb89b415d
parentae5e5f7bdac4a4c69235e0ae640405b174c2b92c (diff)
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>
-rw-r--r--drivers/usb/host/ehci-spear.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-spear.c b/drivers/usb/host/ehci-spear.c
index 61ecfb3d52f5..7c0a3566b0fe 100644
--- a/drivers/usb/host/ehci-spear.c
+++ b/drivers/usb/host/ehci-spear.c
@@ -174,7 +174,7 @@ static struct platform_driver spear_ehci_hcd_driver = {
174 .name = "spear-ehci", 174 .name = "spear-ehci",
175 .bus = &platform_bus_type, 175 .bus = &platform_bus_type,
176 .pm = &ehci_spear_pm_ops, 176 .pm = &ehci_spear_pm_ops,
177 .of_match_table = of_match_ptr(spear_ehci_id_table), 177 .of_match_table = spear_ehci_id_table,
178 } 178 }
179}; 179};
180 180