[media] staging: media: davinci_vpfe: Remove spaces before semicolons
authorLisa Nguyen <lisa@xenapiadmin.com>
Mon, 28 Oct 2013 21:23:34 +0000 (18:23 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 18 Dec 2013 08:27:59 +0000 (06:27 -0200)
Remove unnecessary spaces before semicolons to meet kernel
coding style.

Signed-off-by: Lisa Nguyen <lisa@xenapiadmin.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/davinci_vpfe/dm365_ipipe.c
drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.c
drivers/staging/media/davinci_vpfe/dm365_isif.c

index 766a071b0a224a4b7c6ad5b0a8c4139341981f5f..b7044a380fe316fcb2cb37657f61377bfd9ef688 100644 (file)
@@ -1009,7 +1009,7 @@ static int ipipe_validate_yee_params(struct vpfe_ipipe_yee *yee)
            yee->es_ofst_grad > YEE_THR_MASK)
                return -EINVAL;
 
-       for (i = 0; i < VPFE_IPIPE_MAX_SIZE_YEE_LUT ; i++)
+       for (i = 0; i < VPFE_IPIPE_MAX_SIZE_YEE_LUT; i++)
                if (yee->table[i] > YEE_ENTRY_MASK)
                        return -EINVAL;
 
index e027b92b54ef197720ca12cedd2c28aae3c1d6bc..2d36b60bdbf166e369049e82ef2ce3f15de26f45 100644 (file)
@@ -791,7 +791,7 @@ ipipe_set_3d_lut_regs(void *__iomem base_addr, void *__iomem isp5_base_addr,
 
        /* valied table */
        tbl = lut_3d->table;
-       for (i = 0 ; i < VPFE_IPIPE_MAX_SIZE_3D_LUT; i++) {
+       for (i = 0; i < VPFE_IPIPE_MAX_SIZE_3D_LUT; i++) {
                /* Each entry has 0-9 (B), 10-19 (G) and
                20-29 R values */
                val = tbl[i].b & D3_LUT_ENTRY_MASK;
@@ -899,7 +899,7 @@ ipipe_set_gbce_regs(void *__iomem base_addr, void *__iomem isp5_base_addr,
        if (!gbce->table)
                return;
 
-       for (count = 0; count < VPFE_IPIPE_MAX_SIZE_GBCE_LUT ; count += 2)
+       for (count = 0; count < VPFE_IPIPE_MAX_SIZE_GBCE_LUT; count += 2)
                w_ip_table(isp5_base_addr, ((gbce->table[count + 1] & mask) <<
                GBCE_ENTRY_SHIFT) | (gbce->table[count] & mask),
                ((count/2) << 2) + GBCE_TB_START_ADDR);
index ff48fce94fcbda376938d3482d44978bd65533b6..4171cfd371e84ac57bb7aa2fa962d3a9b6440558 100644 (file)
@@ -918,7 +918,7 @@ isif_config_dfc(struct vpfe_isif_device *isif, struct vpfe_isif_dfc *vdfc)
                   (0 << ISIF_VDFC_EN_SHIFT), DFCCTL);
 
        isif_write(isif->isif_cfg.base_addr, 0x6, DFCMEMCTL);
-       for (i = 0 ; i < vdfc->num_vdefects; i++) {
+       for (i = 0; i < vdfc->num_vdefects; i++) {
                count = DFC_WRITE_WAIT_COUNT;
                while (count &&
                        (isif_read(isif->isif_cfg.base_addr, DFCMEMCTL) & 0x2))