]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'davinci_mdio'
authorDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2014 20:17:18 +0000 (16:17 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2014 20:17:18 +0000 (16:17 -0400)
commitce7dd305cb2f68d9ecd4e6d2dfdd694eb1f34e0b
tree3f990d00fca12ef29d8c9dfbbe2c54b4e57c1f65
parenta6b45449bda3c4e7b8c78b035a5ea1330cb2da04
parent71ef468af14dbe8249f78636ef2cf3e407d04809
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>