diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-04-23 04:55:07 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-05-18 14:45:29 +0300 |
commit | 6aee488bfc320a68ceaf0634cec0b302c971c1b8 (patch) | |
tree | d95a1688aeab5f98a955de961d81ebf79b2d7254 /utils/gen-formats.py | |
parent | ad38d9151b87ccd7628d09e0a9668539117a4f8b (diff) |
v4l2: Replace manual loop counters with utils::enumerate()
Use the newly introduced utils::enumerate() to replace manual loop
counters. A local variable is needed, as utils::enumerate() requires an
lvalue reference.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'utils/gen-formats.py')
0 files changed, 0 insertions, 0 deletions