diff options
| author | Sean Wang <sean.wang@mediatek.com> | 2016-09-14 23:13:17 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-09-16 02:22:57 -0400 |
| commit | 8a8a9e89f801ce5d3d1d57ac48db678caf072147 (patch) | |
| tree | 33043ea75cbd84f7b5fa393242b3d64b23eb4bf1 /tools/perf/scripts/python | |
| parent | net: ethernet: mediatek: add mtk_hw_deinit call as the opposite to mtk_hw_ini... (diff) | |
| download | linux-8a8a9e89f801ce5d3d1d57ac48db678caf072147.tar.gz linux-8a8a9e89f801ce5d3d1d57ac48db678caf072147.zip | |
net: ethernet: mediatek: cleanup error path inside mtk_hw_init
This cleans up the error path inside mtk_hw_init call, causing it able
to exit appropriately when something fails and also includes refactoring
mtk_cleanup call to make the partial logic reusable on the error path.
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
