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:
a703d7e
)
usb: host: ohci-omap3: Remove redundant use of of_match_ptr
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 21 May 2013 11:47:19 +0000
(17:17 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 21 May 2013 18:42:13 +0000
(11:42 -0700)
'omap_ohci_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/ohci-omap3.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ohci-omap3.c
b/drivers/usb/host/ohci-omap3.c
index ddfc31427bc09e1fc95c63ea40f006ad00631e66..08e811d438f37eb77a5a9947b1d3d2dd087fcfd8 100644
(file)
--- a/
drivers/usb/host/ohci-omap3.c
+++ b/
drivers/usb/host/ohci-omap3.c
@@
-252,7
+252,7
@@
static struct platform_driver ohci_hcd_omap3_driver = {
.shutdown = ohci_hcd_omap3_shutdown,
.driver = {
.name = "ohci-omap3",
- .of_match_table = o
f_match_ptr(omap_ohci_dt_ids)
,
+ .of_match_table = o
map_ohci_dt_ids
,
},
};