[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1398860616-6612-1-git-send-email-grygorii.strashko@ti.com>
Date: Wed, 30 Apr 2014 15:23:32 +0300
From: Grygorii Strashko <grygorii.strashko@...com>
To: Florian Fainelli <f.fainelli@...il.com>, <netdev@...r.kernel.org>
CC: Randy Dunlap <rdunlap@...radead.org>,
Jonathan Cameron <jic23@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
<santosh.shilimkar@...com>, Sekhar Nori <nsekhar@...com>,
<linux-doc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<davinci-linux-open-source@...ux.davincidsp.com>,
<sergei.shtylyov@...entembedded.com>, <prabhakar.csengg@...il.com>,
Grygorii Strashko <grygorii.strashko@...com>
Subject: [PATCH v3 0/4] 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
Cc: Florian Fainelli <f.fainelli@...il.com>
Grygorii Strashko (4):
mdio_bus: implement devm_mdiobus_alloc/devm_mdiobus_free
net: davinci_mdio: use devm_* api
net: davinci_mdio: drop pinctrl_pm_select_default_state from probe
net: davinci_mdio: simplify IO memory mapping
Documentation/driver-model/devres.txt | 5 +++
drivers/net/ethernet/ti/davinci_mdio.c | 48 ++++-------------------
drivers/net/phy/mdio_bus.c | 67 ++++++++++++++++++++++++++++++++
include/linux/phy.h | 7 ++++
4 files changed, 87 insertions(+), 40 deletions(-)
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists