summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-21 17:17:19 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-21 11:42:13 -0700
commit7a1cc240d2cf4583b5dc61ef8422dec9c5a040dd (patch)
treecc54904bc235622013583a5427c75c6ffcef357a
parenta703d7e279d072f2720d91d502f1a98356db3349 (diff)
downloadlinux-stable-7a1cc240d2cf4583b5dc61ef8422dec9c5a040dd.tar.gz
linux-stable-7a1cc240d2cf4583b5dc61ef8422dec9c5a040dd.tar.bz2
linux-stable-7a1cc240d2cf4583b5dc61ef8422dec9c5a040dd.zip
usb: host: ohci-omap3: Remove redundant use of of_match_ptr
'omap_ohci_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>
-rw-r--r--drivers/usb/host/ohci-omap3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-omap3.c b/drivers/usb/host/ohci-omap3.c
index ddfc31427bc0..08e811d438f3 100644
--- a/drivers/usb/host/ohci-omap3.c
+++ b/drivers/usb/host/ohci-omap3.c
@@ -252,7 +252,7 @@ static struct platform_driver ohci_hcd_omap3_driver = {
.shutdown = ohci_hcd_omap3_shutdown,
.driver = {
.name = "ohci-omap3",
- .of_match_table = of_match_ptr(omap_ohci_dt_ids),
+ .of_match_table = omap_ohci_dt_ids,
},
};