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:
d6bec48
)
usb: host: ehci-omap: Remove redundant use of of_match_ptr
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 21 May 2013 11:47:15 +0000
(17:17 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 21 May 2013 18:42:12 +0000
(11:42 -0700)
'omap_ehci_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>
drivers/usb/host/ehci-omap.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ehci-omap.c
b/drivers/usb/host/ehci-omap.c
index 3d1491b5f3605e68b0a72e1d5786233f5ad94d7b..d3582fdfb34c371ab7efe93ca0f9fe458db1e428 100644
(file)
--- a/
drivers/usb/host/ehci-omap.c
+++ b/
drivers/usb/host/ehci-omap.c
@@
-294,7
+294,7
@@
static struct platform_driver ehci_hcd_omap_driver = {
/*.resume = ehci_hcd_omap_resume, */
.driver = {
.name = hcd_name,
- .of_match_table = o
f_match_ptr(omap_ehci_dt_ids)
,
+ .of_match_table = o
map_ehci_dt_ids
,
}
};