summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-11-20 17:59:27 +0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2020-01-02 14:25:05 +0300
commita9457ed2ebd77221d0576197507e213792615117 (patch)
treee842a8f4aad530022cb437449ed7a65cd36cb5c8 /scripts/gdb/linux/utils.py
parent9c81b2ccf82da6e995b63e945afa882cfaa03ca9 (diff)
downloadlinux-a9457ed2ebd77221d0576197507e213792615117.tar.xz
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 <geert+renesas@glider.be> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions