diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-04-03 23:14:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-04 17:55:37 -0700 |
commit | a1deab17b2e9017e8a12e8b9e32ddda290f2b269 (patch) | |
tree | 153247f2aac85ae9a41dc41487bc82ce578b4b79 /lib | |
parent | e177163d36d531f7def3807a2ccf24ba3fe97624 (diff) | |
download | linux-a1deab17b2e9017e8a12e8b9e32ddda290f2b269.tar.bz2 |
net: phy: allow a PHY driver to define neither features nor get_features
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 the comment in phy_driver_register to match the code
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions