projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdaa84c
)
net: phy: meson-gxl: use genphy_config_init
author
Jerome Brunet
<jbrunet@baylibre.com>
Mon, 18 Dec 2017 09:44:43 +0000
(10:44 +0100)
committer
David S. Miller
<davem@davemloft.net>
Mon, 18 Dec 2017 18:24:56 +0000
(13:24 -0500)
Use the generic init function to populate some of the phydev
structure fields
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/meson-gxl.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/meson-gxl.c
b/drivers/net/phy/meson-gxl.c
index a52645566d0d6d38466f9b710c8af1666a8780d3..0a34656a2086dd0e2208b7b57909134499bc5c8a 100644
(file)
--- a/
drivers/net/phy/meson-gxl.c
+++ b/
drivers/net/phy/meson-gxl.c
@@
-147,7
+147,7
@@
static int meson_gxl_config_init(struct phy_device *phydev)
if (ret)
return ret;
- return
0
;
+ return
genphy_config_init(phydev)
;
}
/* This function is provided to cope with the possible failures of this phy