OSDN Git Service

net: phy: add helpers phy_(un)lock_mdio_bus
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 23 Nov 2019 16:28:37 +0000 (17:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Nov 2019 18:47:00 +0000 (10:47 -0800)
commitbec170e55982c2d3b8e1beccadf16e288fe6fb5a
tree70d7ebb004c81710c883dcd3dd91d849d7eeca2f
parent4eb47198e955fc01d14113f525b62a4bc95554c7
net: phy: add helpers phy_(un)lock_mdio_bus

Add helpers to make locking/unlocking the MDIO bus easier.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy-core.c
include/linux/phy.h