diff options
author | Geert Uytterhoeven <[email protected]> | 2019-11-20 15:59:27 +0100 |
---|---|---|
committer | Philipp Zabel <[email protected]> | 2020-01-02 12:25:05 +0100 |
commit | a9457ed2ebd77221d0576197507e213792615117 (patch) | |
tree | e842a8f4aad530022cb437449ed7a65cd36cb5c8 /tools/perf/scripts/python/syscall-counts.py | |
parent | 9c81b2ccf82da6e995b63e945afa882cfaa03ca9 (diff) |
reset: Align logic and flow in managed helpers
__devm_reset_control_get() and devm_reset_control_array_get() are very
similar, but they do not look similar, due to inverted logic.
Make them more similar, following the "bail out early" paradigm.
Adjust the logic and flow in devm_reset_controller_register() to match
the two other functions.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Philipp Zabel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions