OSDN Git Service

media: mtk-mdp: Remove mtk_mdp_comp.id and supporting functionality
authorEizan Miyamoto <eizan@chromium.org>
Thu, 7 May 2020 10:23:50 +0000 (12:23 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 4 Jul 2020 10:01:29 +0000 (12:01 +0200)
commit37e278c801078dcf165983a83f7cbefbae856004
treed03caa755f050fd1008be975b03df9c0f0627813
parent86698b9505bbc97b1cd6d8e9a2e7b8604a079469
media: mtk-mdp: Remove mtk_mdp_comp.id and supporting functionality

Since components are registered in a list, the numeric component id that
specified a location in an array is not necessary.

Signed-off-by: Eizan Miyamoto <eizan@chromium.org>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/mtk-mdp/mtk_mdp_comp.c
drivers/media/platform/mtk-mdp/mtk_mdp_comp.h
drivers/media/platform/mtk-mdp/mtk_mdp_core.c