[COMMON] fimc-is2: DO NOT use 'FIMC_IS_STREAM_COUNT' mingled with 'FIMC_IS_SENSOR_COUNT'
authorSanghoon Lee <shoon114.lee@samsung.com>
Tue, 26 Jun 2018 07:40:36 +0000 (16:40 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:05:30 +0000 (17:05 +0900)
commit39488b46ee6e2b9f7592d59a7205625572c308cc
tree5441feaadd4b509f73f55cabb36fa2082e29d0d3
parentf16bb1e7ffde5282ed84586208fab5371ed38cb9
[COMMON] fimc-is2: DO NOT use 'FIMC_IS_STREAM_COUNT' mingled with 'FIMC_IS_SENSOR_COUNT'

To traverse the sensor device structure,
sensor count define should be used to check the array length or to declare the related array.

Change-Id: Iea9094ff143eedb7fff11b0c4e426d418240d0eb
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
12 files changed:
drivers/media/platform/exynos/fimc-is2/interface/fimc-is-interface-ischain.c
drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v4_3_0/fimc-is-hw-chain.c
drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v5_2_0/fimc-is-hw-chain.c
drivers/media/platform/exynos/fimc-is2/sensor/module_framework/actuator/fimc-is-actuator-ak7372.c
drivers/media/platform/exynos/fimc-is2/sensor/module_framework/cis/fimc-is-cis-2l1.c
drivers/media/platform/exynos/fimc-is2/sensor/module_framework/cis/fimc-is-cis-2l2.c
drivers/media/platform/exynos/fimc-is2/sensor/module_framework/cis/fimc-is-cis-2l3.c
drivers/media/platform/exynos/fimc-is2/sensor/module_framework/cis/fimc-is-cis-3h1.c
drivers/media/platform/exynos/fimc-is2/sensor/module_framework/cis/fimc-is-cis-4e6.c
drivers/media/platform/exynos/fimc-is2/sensor/module_framework/cis/fimc-is-cis-imx260.c
drivers/media/platform/exynos/fimc-is2/sensor/module_framework/cis/fimc-is-cis-imx320.c
drivers/media/platform/exynos/fimc-is2/sensor/module_framework/cis/fimc-is-cis-imx333.c