All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] introduce devm_mdiobus_alloc/devm_mdiobus_free
@ 2014-04-04 13:40 ` Grygorii Strashko
  0 siblings, 0 replies; 13+ messages in thread
From: Grygorii Strashko @ 2014-04-04 13:40 UTC (permalink / raw)
  To: Florian Fainelli, netdev
  Cc: Randy Dunlap, Jonathan Cameron, David S. Miller, prabhakar.csengg,
	santosh.shilimkar, Sekhar Nori, linux-doc, linux-kernel,
	davinci-linux-open-source, Grygorii Strashko

Introduce a resource managed devm_mdiobus_alloc()/devm_mdiobus_free()
to automatically clean up MDIO bus alocations made by MDIO drivers,
thus leading to simplified MDIO drivers code.

Update Davinci MDIO driver ss example of new devm APIs usage.

Grygorii Strashko (2):
  mdio_bus: implement devm_mdiobus_alloc/devm_mdiobus_free
  net: davinci_mdio: use devm_* api

 Documentation/driver-model/devres.txt  |    4 ++
 drivers/net/ethernet/ti/davinci_mdio.c |   21 ++--------
 drivers/net/phy/mdio_bus.c             |   68 ++++++++++++++++++++++++++++++++
 include/linux/phy.h                    |    2 +
 4 files changed, 78 insertions(+), 17 deletions(-)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-04-11 11:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-04 13:40 [PATCH 0/2] introduce devm_mdiobus_alloc/devm_mdiobus_free Grygorii Strashko
2014-04-04 13:40 ` Grygorii Strashko
2014-04-04 13:40 ` [PATCH 1/2] mdio_bus: implement devm_mdiobus_alloc/devm_mdiobus_free Grygorii Strashko
2014-04-04 13:40   ` Grygorii Strashko
2014-04-04 13:15   ` Sergei Shtylyov
2014-04-08  9:52     ` Grygorii Strashko
2014-04-08  9:52       ` Grygorii Strashko
2014-04-04 13:40 ` [PATCH 2/2] net: davinci_mdio: use devm_* api Grygorii Strashko
2014-04-04 13:40   ` Grygorii Strashko
2014-04-04 13:18   ` Sergei Shtylyov
2014-04-11  4:55 ` [PATCH 0/2] introduce devm_mdiobus_alloc/devm_mdiobus_free Florian Fainelli
2014-04-11 11:05   ` Grygorii Strashko
2014-04-11 11:05     ` Grygorii Strashko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.