net: phy: use phy_modify_mmd_changed in genphy_c45_an_config_aneg
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 4 Mar 2019 18:50:40 +0000 (19:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Mar 2019 21:10:10 +0000 (13:10 -0800)
commit9731ea06298b2059b168076a9ddbf3e048fd42b5
tree2e15721e809c221b06bcca067686f32292e598de
parent3acca1dd17060332cfab15693733cdaf9fba1c90
net: phy: use phy_modify_mmd_changed in genphy_c45_an_config_aneg

As can be seen from the usage of the return value, we should use
phy_modify_mmd_changed() here.

Fixes: 9a5dc8af4416 ("net: phy: add genphy_c45_an_config_aneg")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy-c45.c