linux/drivers/hwspinlock
Andrew Davis cebaa386d5 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>
2024-03-05 20:01:14 -08:00
..
hwspinlock_core.c hwspinlock/core: fix kernel-doc warnings 2023-12-07 14:51:38 -08:00
hwspinlock_internal.h hwspinlock: hwspinlock_internal.h: Replace zero-length array with flexible-array member 2020-03-25 22:30:46 -07:00
Kconfig hwspinlock: add sun6i hardware spinlock support 2021-05-27 22:19:42 -05:00
Makefile hwspinlock: add sun6i hardware spinlock support 2021-05-27 22:19:42 -05:00
omap_hwspinlock.c hwspinlock: omap: Use index to get hwspinlock pointer 2024-03-05 20:01:14 -08:00
qcom_hwspinlock.c hwspinlock: qcom: Remove IPQ6018 SOC specific compatible 2023-12-07 14:42:01 -08:00
sprd_hwspinlock.c hwspinlock: sprd: Use struct_size() helper in devm_kzalloc() 2022-03-11 14:56:57 -06:00
stm32_hwspinlock.c hwspinlock: stm32: Use struct_size() helper in devm_kzalloc() 2022-03-11 14:56:15 -06:00
sun6i_hwspinlock.c hwspinlock: add sun6i hardware spinlock support 2021-05-27 22:19:42 -05:00
u8500_hsem.c hwspinlock: u8500: Convert to platform remove callback returning void 2023-07-15 13:04:25 -07:00