projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b0fce8
)
of_mdio: Don't phy_scan_fixups() twice
author
Kyle Moffett
<Kyle.D.Moffett@boeing.com>
Thu, 20 Oct 2011 21:00:09 +0000
(17:00 -0400)
committer
Grant Likely
<grant.likely@secretlab.ca>
Tue, 25 Oct 2011 04:55:52 +0000
(06:55 +0200)
The "phy_device_register()" call 5 lines down already calls
phy_scan_fixups(), there's no need to do it a second time.
Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/of_mdio.c
patch
|
blob
|
history
diff --git
a/drivers/of/of_mdio.c
b/drivers/of/of_mdio.c
index
d35e300
..
980c079
100644
(file)
--- a/
drivers/of/of_mdio.c
+++ b/
drivers/of/of_mdio.c
@@
-83,7
+83,6
@@
int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np)
addr);
continue;
}
- phy_scan_fixups(phy);
/* Associate the OF node with the device structure so it
* can be looked up later */