Commit cebaa386 authored by Andrew Davis's avatar Andrew Davis Committed by Bjorn Andersson
Browse files

hwspinlock: omap: Use index to get hwspinlock pointer



For loops with multiple initializers and increments are hard to read
and reason about, simplify this by using the looping index to index
into the hwspinlock array.

Signed-off-by: default avatarAndrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240208165114.63148-4-afd@ti.com


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 8781ec87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment