net: phy: smsc: simplify lan95xx_config_aneg_ext
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 6 Mar 2023 22:10:57 +0000 (23:10 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 8 Mar 2023 07:57:32 +0000 (23:57 -0800)
commit4310e2f42030ffda0997fb87e2ebdd9711030218
tree1ac5644bbfa6131b0068584cbf6f32d3f172f0da
parent40bbae583ec38ea31e728bf42a4ea72bded22ab6
net: phy: smsc: simplify lan95xx_config_aneg_ext

lan95xx_config_aneg_ext() can be simplified by using phy_set_bits().

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/3da785c7-3ef8-b5d3-89a0-340f550be3c2@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/smsc.c