Merge branch 'davinci_mdio'
Grygorii Strashko says: ==================== introduce devm_mdiobus_alloc/free and clean up davinci mdio Introduce a resource managed devm_mdiobus_alloc[_size]()/devm_mdiobus_free() to automatically clean up MDIO bus alocations made by MDIO drivers, thus leading to simplified MDIO drivers code. Clean up Davinci MDIO driver and use new devm API. Changes in v3: - added devm_mdiobus_alloc_size() and devm_mdiobus_alloc() converted to be just a simple wrapper now. Changes in v2: - minor comments taken into account - additional patches added for cleaning up Davinci MDIO driver ==================== Acked-by:Santosh <Shilimkar<santosh.shilimkar@ti.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- Documentation/driver-model/devres.txt 5 additions, 0 deletionsDocumentation/driver-model/devres.txt
- drivers/net/ethernet/ti/davinci_mdio.c 8 additions, 40 deletionsdrivers/net/ethernet/ti/davinci_mdio.c
- drivers/net/phy/mdio_bus.c 67 additions, 0 deletionsdrivers/net/phy/mdio_bus.c
- include/linux/phy.h 7 additions, 0 deletionsinclude/linux/phy.h
Loading
Please register or sign in to comment