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:
2c398f3
)
usb: host: ehci-orion: Remove redundant use of of_match_ptr
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 21 May 2013 11:47:18 +0000
(17:17 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 21 May 2013 18:42:12 +0000
(11:42 -0700)
'ehci_orion_dt_ids' is always compiled in. Hence use of
of_match_ptr is unnecessary.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Tzachi Perelstein <tzachi@marvell.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-orion.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ehci-orion.c
b/drivers/usb/host/ehci-orion.c
index 54c57948515051867df3dc8d218699ba6806e5ff..29cc4a3a07a37b123bad379872570fed7367f893 100644
(file)
--- a/
drivers/usb/host/ehci-orion.c
+++ b/
drivers/usb/host/ehci-orion.c
@@
-303,7
+303,7
@@
static struct platform_driver ehci_orion_driver = {
.driver = {
.name = "orion-ehci",
.owner = THIS_MODULE,
- .of_match_table =
of_match_ptr(ehci_orion_dt_ids)
,
+ .of_match_table =
ehci_orion_dt_ids
,
},
};