diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-07-06 20:36:03 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-07-19 09:25:32 +0200 |
| commit | 2f63379b93fa389ed65432d456da6697f60f7338 (patch) | |
| tree | 091de9438a53cb392a5c03165cc0385c512ddaa5 /include/linux/stacktrace.h | |
| parent | ed595da7d70fbb12bb5bd30936b472164082c484 (diff) | |
| download | cachepc-linux-2f63379b93fa389ed65432d456da6697f60f7338.tar.gz cachepc-linux-2f63379b93fa389ed65432d456da6697f60f7338.zip | |
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 <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
