summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-21 11:47:20 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-21 18:42:13 (GMT)
commitc0d6f0b42e0c008e2bcfe1f810ec4701a0dda2d7 (patch)
tree8cc7541c49478c4b9520ff775db35c8622ae40e1
parent7a1cc240d2cf4583b5dc61ef8422dec9c5a040dd (diff)
downloadlinux-fsl-qoriq-c0d6f0b42e0c008e2bcfe1f810ec4701a0dda2d7.tar.xz
usb: host: ohci-spear: Remove redundant use of of_match_ptr
'spear_ohci_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/ohci-spear.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-spear.c b/drivers/usb/host/ohci-spear.c
index 6f9a1dc..6a7cb14 100644
--- a/drivers/usb/host/ohci-spear.c
+++ b/drivers/usb/host/ohci-spear.c
@@ -230,7 +230,7 @@ static struct platform_driver spear_ohci_hcd_driver = {
.driver = {
.owner = THIS_MODULE,
.name = "spear-ohci",
- .of_match_table = of_match_ptr(spear_ohci_id_table),
+ .of_match_table = spear_ohci_id_table,
},
};