summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-orion.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-21 17:17:18 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-21 11:42:12 -0700
commita703d7e279d072f2720d91d502f1a98356db3349 (patch)
treec7b70b8bfb1be4d81885cf42f0fb79d406b9ba01 /drivers/usb/host/ehci-orion.c
parent2c398f3e4a5f791ac7ce0d7a5fc963a7e067aa66 (diff)
usb: host: ehci-orion: Remove redundant use of of_match_ptr
'ehci_orion_dt_ids' is always compiled in. Hence use of of_match_ptr is unnecessary. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Tzachi Perelstein <tzachi@marvell.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-orion.c')
-rw-r--r--drivers/usb/host/ehci-orion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-orion.c b/drivers/usb/host/ehci-orion.c
index 54c579485150..29cc4a3a07a3 100644
--- a/drivers/usb/host/ehci-orion.c
+++ b/drivers/usb/host/ehci-orion.c
@@ -303,7 +303,7 @@ static struct platform_driver ehci_orion_driver = {
.driver = {
.name = "orion-ehci",
.owner = THIS_MODULE,
- .of_match_table = of_match_ptr(ehci_orion_dt_ids),
+ .of_match_table = ehci_orion_dt_ids,
},
};