projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae5e5f7
)
usb: host: ehci-spear: Remove redundant use of of_match_ptr
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 21 May 2013 11:47:17 +0000
(17:17 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 21 May 2013 18:42:12 +0000
(11:42 -0700)
'spear_ehci_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>
drivers/usb/host/ehci-spear.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ehci-spear.c
b/drivers/usb/host/ehci-spear.c
index 61ecfb3d52f5d102f78d058fa5c032d37e0e7742..7c0a3566b0fe10b538ae297d49b3a63c4145a36d 100644
(file)
--- a/
drivers/usb/host/ehci-spear.c
+++ b/
drivers/usb/host/ehci-spear.c
@@
-174,7
+174,7
@@
static struct platform_driver spear_ehci_hcd_driver = {
.name = "spear-ehci",
.bus = &platform_bus_type,
.pm = &ehci_spear_pm_ops,
- .of_match_table =
of_match_ptr(spear_ehci_id_table)
,
+ .of_match_table =
spear_ehci_id_table
,
}
};