diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2023-09-06 22:00:19 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2023-09-19 11:10:28 +0200 |
commit | be944ceb6761a6198f5df51c36fd91eb9e112704 (patch) | |
tree | bf4025061c99d0e54056f57a32bf71189d004351 /drivers/acpi/acpi_platform.c | |
parent | f78ca48a8ba9cdec96e8839351e49eec3233b177 (diff) |
i2c: rcar: avoid non-standard use of goto
Kernel functions goto somewhere on error conditions. Using goto for the
default path is irritating. Let's bail out on error instead and use a
proper retval.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/acpi/acpi_platform.c')
0 files changed, 0 insertions, 0 deletions