summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-omap.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-21 13:47:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-21 20:42:12 +0200
commitbe4b08ccfbd0faa7f92398213b2d3783389dc358 (patch)
tree3729a10bf26d7ab3800eb016a2e282609978fd90 /drivers/usb/host/ehci-omap.c
parentusb: host: fusbh200-hcd: Staticize local symbols (diff)
downloadlinux-be4b08ccfbd0faa7f92398213b2d3783389dc358.tar.xz
linux-be4b08ccfbd0faa7f92398213b2d3783389dc358.zip
usb: host: ehci-omap: Remove redundant use of of_match_ptr
'omap_ehci_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>
Diffstat (limited to 'drivers/usb/host/ehci-omap.c')
-rw-r--r--drivers/usb/host/ehci-omap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c
index 3d1491b5f360..d3582fdfb34c 100644
--- a/drivers/usb/host/ehci-omap.c
+++ b/drivers/usb/host/ehci-omap.c
@@ -294,7 +294,7 @@ static struct platform_driver ehci_hcd_omap_driver = {
/*.resume = ehci_hcd_omap_resume, */
.driver = {
.name = hcd_name,
- .of_match_table = of_match_ptr(omap_ehci_dt_ids),
+ .of_match_table = omap_ehci_dt_ids,
}
};