media: vimc: enumerate data link entities for clarity
authorDaniel Oakley <daniel.oakley@ideasonboard.com>
Thu, 16 Jun 2022 10:07:46 +0000 (11:07 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 15 Jul 2022 13:43:32 +0000 (14:43 +0100)
commitf2e761fdace257dd0411958efedb0e7af043c4f8
tree33a86ac928c313894d72925af662345085ca57e5
parentec917d77c57c0b3499442d2148bc4ca3598a5e8a
media: vimc: enumerate data link entities for clarity

The data_links array was hard to read and understand. By implementing
enumerated vimc data link entities, clarity has been improved when
defining data_links. This therefore should help new programmers to
understand the codebase better. There is no functional change intended.

Suggested-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Daniel Oakley <daniel.oakley@ideasonboard.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/test-drivers/vimc/vimc-core.c