net: phy: Add nested variants of mdiobus read/write
authorNeil Armstrong <narmstrong@baylibre.com>
Thu, 22 Oct 2015 08:37:49 +0000 (10:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Oct 2015 12:57:43 +0000 (05:57 -0700)
commit21dd19fed3c3eb42a3877600f4a97a774323e562
tree54f25e3bd43a8ef81c0fd9fb5fc28cce8c1ad679
parent6fb3b6b57ae444d7723088656dce86b1be92498d
net: phy: Add nested variants of mdiobus read/write

Since nested variants of mdiobus_read/write are used in multiple
drivers, add nested variants in the mdiobus core.

Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio_bus.c
include/linux/phy.h