summaryrefslogtreecommitdiffstats
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-10-13 12:49:23 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-11-20 14:17:22 +0000
commite5cc9840f08be46c701d88b81f06d37db516fe32 (patch)
tree6217b28fa3f740beafe58c4739ed4e8916d07211 /drivers/iio/trigger/stm32-timer-trigger.c
parent7d71d289e1ba86838bc908d5ce216a208815fd01 (diff)
downloadlinux-e5cc9840f08be46c701d88b81f06d37db516fe32.tar.gz
linux-e5cc9840f08be46c701d88b81f06d37db516fe32.tar.bz2
linux-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 <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20211013094923.2473-3-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions