Commit c24feb93 authored by Andi Shyti's avatar Andi Shyti Committed by John Stultz
Browse files

UPSTREAM: i2c: qcom-geni: Use goto for clearer exit path



Refactor the code by using goto statements to reduce duplication
and make the exit path clearer.

Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>

Bug: 370629635
Change-Id: I6e7152bd47d76bc7dd0eb98ffd7906eb52b91478
(cherry picked from commit 23cc961a)
Signed-off-by: default avatarPraveen Talari <quic_ptalari@quicinc.com>
parent 80c036f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment