diff options
| author | Laurent Pinchart <[email protected]> | 2020-07-06 20:36:03 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-07-19 09:25:32 +0200 |
| commit | 2f63379b93fa389ed65432d456da6697f60f7338 (patch) | |
| tree | 091de9438a53cb392a5c03165cc0385c512ddaa5 /tools/perf/scripts/python/stackcollapse.py | |
| parent | ed595da7d70fbb12bb5bd30936b472164082c484 (diff) | |
media: ti-vpe: cal: Use a loop to create CAMERARX and context instances
Replace a manually unrolled loop with an explicit for loop to increase
readability when creating the CAMERARX and context instances. The
explicit NULL initialization of cal->phy[] and cal->ctx[] is removed, as
the cal structure is zeroed when allocated.
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Tomi Valkeinen <[email protected]>
Reviewed-by: Benoit Parrot <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions