diff options
| author | Antoine Tenart <antoine.tenart@bootlin.com> | 2020-06-25 17:42:08 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-06-25 16:22:11 -0700 |
| commit | d9608aacd3c0272a5a363e5002c7102ddd4529b6 (patch) | |
| tree | 32cd93a1ada56a1edc3232205123ef895c61be28 /include/linux/errqueue.h | |
| 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>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
