[COMMON] fimc-is2: Moved the position of variable declaration
authorSunmi Lee <carrotsm.lee@samsung.com>
Fri, 29 Jun 2018 06:31:19 +0000 (15:31 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:06:02 +0000 (17:06 +0900)
To keep that same type of variables were placed in same position

Change-Id: Ic04be935656be4a52256f9f5fa32c428c1df21e4
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-mcscaler-v2.c

index 962c5388307ba43d64e7563a15c7ebb66ffb2fed..fe52cf716f06f0b467764ed6582f40b1533d7ac6 100644 (file)
@@ -263,11 +263,10 @@ int check_sc_core_running(struct fimc_is_hw_ip *hw_ip, struct fimc_is_hw_mcsc_ca
 static int fimc_is_hw_mcsc_open(struct fimc_is_hw_ip *hw_ip, u32 instance,
        struct fimc_is_group *group)
 {
-       int ret = 0;
+       int ret = 0, i;
        struct fimc_is_hw_mcsc *hw_mcsc;
        struct fimc_is_hw_mcsc_cap *cap;
        u32 output_id;
-       int i;
 
        FIMC_BUG(!hw_ip);