]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: phy: use phy_modify_changed in genphy_config_advert
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 10 Feb 2019 18:59:57 +0000 (19:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Feb 2019 20:53:18 +0000 (12:53 -0800)
commit4f9744ed3c285fd2d2cf7f9a43c00c03604a2515
tree52c518031f4446366454a252c94bdabee83a4f44
parentb06d8e5a5dcc21063a0a84658b7106f40aa400e4
net: phy: use phy_modify_changed in genphy_config_advert

Use phy_modify_changed() to simplify the code.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c