summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/dpot-dac.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-10-16 16:31:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-18 10:02:52 +0200
commitb8cb855d1b2ee6669e46c54a132024bd1dd0dcbb (patch)
tree7094f8eb965dabf2bf218fcd4cbc04b810097ff0 /drivers/iio/dac/dpot-dac.c
parent8d8ae17eb0de1fcdff6e7ddee3b641a16eefe8f6 (diff)
downloadlinux-stable-b8cb855d1b2ee6669e46c54a132024bd1dd0dcbb.tar.gz
linux-stable-b8cb855d1b2ee6669e46c54a132024bd1dd0dcbb.tar.bz2
linux-stable-b8cb855d1b2ee6669e46c54a132024bd1dd0dcbb.zip
parport: Use list_for_each() helper
Convert hard to read custom code to list_for_each(). No functional changes intended. Note, we may not use list_for_each_entry() as at the end of the list the iterator will point to an invalid entry and may not be dereferenced. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20231016133135.1203643-3-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/dac/dpot-dac.c')
0 files changed, 0 insertions, 0 deletions