commit | d9608aacd3c0272a5a363e5002c7102ddd4529b6 | [log] [tgz] |
---|---|---|
author | Antoine Tenart <antoine.tenart@bootlin.com> | Thu Jun 25 17:42:08 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 25 16:22:11 2020 -0700 |
tree | 32cd93a1ada56a1edc3232205123ef895c61be28 | |
parent | b9dccf91b34a1d1b3c4e1d36782701288697a2fb [diff] |
net: phy: mscc: do not access the MDIO bus lock directly This patch improves the MSCC driver by using the provided phy_lock_mdio_bus and phy_unlock_mdio_bus helpers instead of locking and unlocking the MDIO bus lock directly. The patch is only cosmetic but should improve maintenance and consistency. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>