net: phy: convert read-modify-write to phy_modify()
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 2 Jan 2018 10:58:58 +0000 (10:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Jan 2018 16:00:23 +0000 (11:00 -0500)
commitfea23fb591cce99546baca043d2a068228e87a79
tree9144b3005e8ca0fe15e047c50dcabb0b8051f9a1
parent2b74e5be17d25fbca4be236a19efcd2ecae81cb2
net: phy: convert read-modify-write to phy_modify()

Convert read-modify-write sequences in at803x, Marvell and core phylib
to use phy_modify() to ensure safety.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c
drivers/net/phy/marvell.c
drivers/net/phy/phy_device.c