diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-03-27 21:59:33 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-02 13:09:56 -0700 |
commit | 2a4d8674b8ec1fc0cf91a4d59b0ca119052036ce (patch) | |
tree | 92c4db8a538e7742910ebf9e1c5063e375ec0f6b /drivers/message | |
parent | 045925e3fe5b98e402337a176d154252c56cef2e (diff) | |
download | linux-2a4d8674b8ec1fc0cf91a4d59b0ca119052036ce.tar.bz2 |
net: phy: use genphy_read_abilities in genphy driver
Currently the genphy driver populates phydev->supported like this:
First all possible feature bits are set, then genphy_config_init()
reads the available features from the chip and remove all unsupported
features from phydev->supported. This can be simplified by using
genphy_read_abilities().
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions