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)
commit3c4de5a0a3e7f8e5af18ed7a2275d189734f897a
tree3f990d00fca12ef29d8c9dfbbe2c54b4e57c1f65
parentca8b6e04bc38891cbc0f2c7855bc7d0498dfff9b
parent9728e1a7d331fab8d1b625657596afa7391d0a95
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>