diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-05-27 14:40:51 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-05-28 17:36:12 +0200 |
commit | 715ed72801ff4d0dd9938e36513a01a57e13740a (patch) | |
tree | 884a05ae23ab7a4d116f732e20c30dfbaa32876f /drivers/phy/allwinner | |
parent | 4c411ce35b866a351bca76b1d853eabdfa58998e (diff) |
gpio: em: Return early on error in em_gio_probe()
em_gio_probe() uses managed initializations for everything but creating
the IRQ domain. Hence in most failure cases, no cleanup needs to be
performed at all.
Make this clearer for the casual reviewer by returning early, instead of
jumping to an out-of-sight label.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/phy/allwinner')
0 files changed, 0 insertions, 0 deletions