summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-platform.c
diff options
context:
space:
mode:
authorSachin Kamat2013-05-21 13:47:16 +0200
committerGreg Kroah-Hartman2013-05-21 20:42:12 +0200
commitae5e5f7bdac4a4c69235e0ae640405b174c2b92c (patch)
tree4548c7e0b32426af5040f0087666c7cf57563b58 /drivers/usb/host/ehci-platform.c
parentusb: host: ehci-omap: Remove redundant use of of_match_ptr (diff)
downloadkernel-qcow2-linux-ae5e5f7bdac4a4c69235e0ae640405b174c2b92c.tar.gz
kernel-qcow2-linux-ae5e5f7bdac4a4c69235e0ae640405b174c2b92c.tar.xz
kernel-qcow2-linux-ae5e5f7bdac4a4c69235e0ae640405b174c2b92c.zip
usb: host: ehci-platform: Remove redundant use of of_match_ptr
'vt8500_ehci_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-platform.c')
-rw-r--r--drivers/usb/host/ehci-platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c
index a98dd3b45610..5733f8ed98f1 100644
--- a/drivers/usb/host/ehci-platform.c
+++ b/drivers/usb/host/ehci-platform.c
@@ -223,7 +223,7 @@ static struct platform_driver ehci_platform_driver = {
.owner = THIS_MODULE,
.name = "ehci-platform",
.pm = &ehci_platform_pm_ops,
- .of_match_table = of_match_ptr(vt8500_ehci_ids),
+ .of_match_table = vt8500_ehci_ids,
}
};