aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2021-10-13 09:49:23 +0000
committerJonathan Cameron <[email protected]>2021-11-20 14:17:22 +0000
commite5cc9840f08be46c701d88b81f06d37db516fe32 (patch)
tree6217b28fa3f740beafe58c4739ed4e8916d07211 /drivers/iio/trigger/stm32-timer-trigger.c
parentiio: light: ltr501: Added ltr303 driver support (diff)
downloadkernel-e5cc9840f08be46c701d88b81f06d37db516fe32.tar.gz
kernel-e5cc9840f08be46c701d88b81f06d37db516fe32.zip
iio: buffer: Use dedicated variable in iio_buffers_alloc_sysfs_and_mask()
Use dedicated variable for index in the loop in the iio_buffers_alloc_sysfs_and_mask(). This will make code cleaner and less error prone as proved by previous changes done in this function. Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions