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: Andi Shyti <andi.shyti@kernel.org>
This commit is contained in:
Andi Shyti 2024-08-12 21:40:29 +02:00
commit 23cc961a08