Commit 1399831c authored by Andi Shyti's avatar Andi Shyti Committed by Praveen Talari
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
Bug: 375550406
Change-Id: I6e7152bd47d76bc7dd0eb98ffd7906eb52b91478
(cherry picked from commit 23cc961a)
Signed-off-by: default avatarPraveen Talari <quic_ptalari@quicinc.com>
(cherry picked from commit c24feb93)
parent 716f3fbe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment