commit | cebaa386d5ee1a44a58c12f1d220f62cc567fdb0 | [log] [tgz] |
---|---|---|
author | Andrew Davis <afd@ti.com> | Thu Feb 08 10:51:14 2024 -0600 |
committer | Bjorn Andersson <andersson@kernel.org> | Tue Mar 05 20:01:14 2024 -0800 |
tree | aaa25cc7b3e0f6d52a7dec7ca3d75397ca69c770 | |
parent | 8781ec87795a8812b22579ba7ccdc0fdc16ba003 [diff] |
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: Andrew Davis <afd@ti.com> Link: https://lore.kernel.org/r/20240208165114.63148-4-afd@ti.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>