]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit28feaa4b42abcdbbfcc7cfabd79d0b578c14c884
tree33a86ac928c313894d72925af662345085ca57e5
parent4d12ca279ec797ea06721c9c1ca27ed732ac5ad7
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