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:
5d68916
)
usb: phy: phy-nop: Remove redundant use of of_match_ptr
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 21 May 2013 11:47:22 +0000
(17:17 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 21 May 2013 18:42:13 +0000
(11:42 -0700)
'nop_xceiv_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/phy/phy-nop.c
patch
|
blob
|
history
diff --git
a/drivers/usb/phy/phy-nop.c
b/drivers/usb/phy/phy-nop.c
index 2b10cc969bbb1f4457a463c2072508953a42fdc2..74815beab0d9bfd9058910fadcf6a670a4492cb3 100644
(file)
--- a/
drivers/usb/phy/phy-nop.c
+++ b/
drivers/usb/phy/phy-nop.c
@@
-272,7
+272,7
@@
static struct platform_driver nop_usb_xceiv_driver = {
.driver = {
.name = "nop_usb_xceiv",
.owner = THIS_MODULE,
- .of_match_table =
of_match_ptr(nop_xceiv_dt_ids)
,
+ .of_match_table =
nop_xceiv_dt_ids
,
},
};