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.
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 fallback drivers/net/phy/phy_device.c | 17 +++++++++++------ drivers/net/phy/realtek.c | 10 ---------- 2 files changed, 11 insertions(+), 16 deletions(-) -- 2.21.0