commit | a9457ed2ebd77221d0576197507e213792615117 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Wed Nov 20 15:59:27 2019 +0100 |
committer | Philipp Zabel <p.zabel@pengutronix.de> | Thu Jan 02 12:25:05 2020 +0100 |
tree | e842a8f4aad530022cb437449ed7a65cd36cb5c8 | |
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 <geert+renesas@glider.be> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>