]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: phy: smsc: use phy_set_bits in smsc_phy_config_init
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 8 Mar 2023 20:19:55 +0000 (21:19 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Mar 2023 07:17:30 +0000 (23:17 -0800)
commit513bdd9473888ba4b1441923c2711cb5ecd06cfd
tree1d53c650fa7f80e446336f093f3e8c774505b861
parent6978052448f9eb19f7b03243ac0416104e5ee50d
net: phy: smsc: use phy_set_bits in smsc_phy_config_init

Simplify the code 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/b64d9f86-d029-b911-bbe9-6ca6889399d7@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/smsc.c