diff options
| author | Grygorii Strashko <[email protected]> | 2014-04-30 15:23:33 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-05-02 16:16:26 -0400 |
| commit | 6d48f44b7b2af67b33c1ae5994b8f642685c8bc8 (patch) | |
| tree | 3c39a984abea3ca8016660b111783874d982f5b4 /tools/perf/scripts/python | |
| parent | ca8b6e04bc38891cbc0f2c7855bc7d0498dfff9b (diff) | |
mdio_bus: implement devm_mdiobus_alloc/devm_mdiobus_free
Add 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.
Cc: Florian Fainelli <[email protected]>
Cc: Sergei Shtylyov <[email protected]>
Acked-and-tested-by: Lad, Prabhakar <[email protected]>
Signed-off-by: Grygorii Strashko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions