net: phy: use generic PHY ability readers if callback get_features isn't set
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 3 repliesIn review
- v12 patches 4 repliesSuperseded
Changes in v2 from the cover letter
- adjust a comment in patch 1 to match the code
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: phy: allow a PHY driver to define neither features nor get_featuresdrivers/ | +12 | 1 reply | |
| 2/2 | net: phy: realtek: remove setting callback get_features and use phylib fallbackdrivers/ | +0 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Lunn |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v2 0/2] net: phy: use generic PHY ability readers if callback get_features isn't set
Meanwhile we have generic functions for reading the abilities of Clause 22 / 45 PHY's. This allows to use them as fallback in case callback get_features isn't set. Benefit is the reduction of boilerplate code in PHY drivers.
v2:
- adjust a comment in patch 1 to match the code
Heiner Kallweit (2):
net: phy: allow a PHY driver to define neither features nor
get_features
net: phy: realtek: remove setting callback get_features and use phylib
default
drivers/net/phy/phy_device.c | 19 ++++++++++++------- drivers/net/phy/realtek.c | 10 ---------- 2 files changed, 12 insertions(+), 17 deletions(-)
Signature · 1 line
2.21.0