diff options
author | Dafna Hirschfeld <dafna.hirschfeld@collabora.com> | 2019-10-03 09:59:42 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-10-24 19:03:28 -0300 |
commit | 23df45d038662da2b1e017cf38165a88dfd7f543 (patch) | |
tree | 2462c2b1ac4a8eb62e0056c7afa28ac72f07f3ab /drivers/dma/coh901318_lli.c | |
parent | ad1cec89db964cc3391fa67b1d1d93482727a439 (diff) | |
download | blackbird-op-linux-23df45d038662da2b1e017cf38165a88dfd7f543.tar.gz blackbird-op-linux-23df45d038662da2b1e017cf38165a88dfd7f543.zip |
media: vimc: embed the pads of entities in the entities' structs
since the pads array is of known small size, there is no reason to
allocate it separately. Instead, it is embedded in the entity struct.
This also conforms to the media controller doc:
'Most drivers will embed the pads array in a driver-specific structure,
avoiding dynamic allocation.'
Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
[hverkuil-cisco@xs4all.nl: remove unused vimc_pads_init()]
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/dma/coh901318_lli.c')
0 files changed, 0 insertions, 0 deletions