diff options
| author | Ezequiel Garcia <[email protected]> | 2014-05-22 20:07:02 -0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-05-23 15:31:49 -0400 |
| commit | 56ecd2cc3810b76fc88d39369d23791fbd9adf81 (patch) | |
| tree | 75dd3df6d3f3ddad7812a0abe42395cf3e8e25f0 /tools/perf/scripts/python | |
| parent | edadb7fad3f9cbb6565da72192cc192a8d1a0703 (diff) | |
net: mvmdio: Use devm_* API to simplify the code
This commit makes use of devm_kmalloc_array() for memory allocation and the
recently introduced devm_mdiobus_alloc() API to simplify driver's code.
While here, remove a redundant out of memory error message.
Acked-by: Sebastian Hesselbarth <[email protected]>
Signed-off-by: Ezequiel Garcia <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions