OSDN Git Service

staging: media: atomisp: Remove unnecessary blank lines.
authorVarsha Rao <rvarsha016@gmail.com>
Sun, 19 Mar 2017 12:33:13 +0000 (18:03 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Mar 2017 07:39:10 +0000 (08:39 +0100)
Remove multiple blank lines, which are not required. This patch fixes
the following check patch issue:

CHECK: Please don't use multiple blank lines

Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/ctc/ctc2/ia_css_ctc2.host.c
drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/xnr/xnr_3.0/ia_css_xnr3.host.c
drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_mipi.c
drivers/staging/media/atomisp/platform/intel-mid/atomisp_gmin_platform.c

index c96340d..5d58dc1 100644 (file)
@@ -29,8 +29,6 @@ const struct ia_css_ctc2_config default_ctc2_config = {
        BASIC_VAL * 8, INEFFECTIVE_VAL, INEFFECTIVE_VAL,
        BASIC_VAL >> 1, BASIC_VAL};
 
-
-
 /* (dydx) = ctc2_slope(y1, y0, x1, x0)
  * -----------------------------------------------
  * Calculation of the Slope of a Line = ((y1 - y0) >> 8)/(x1 - x0)
index 9355b44..f61bfab 100644 (file)
@@ -51,7 +51,6 @@ static const int16_t b[XNR3_LOOK_UP_TABLE_POINTS] = {
 static const int16_t c[XNR3_LOOK_UP_TABLE_POINTS] = {
 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
 
-
 /*
 #endif
  * Default kernel parameters. In general, default is bypass mode or as close
@@ -224,7 +223,6 @@ ia_css_xnr3_vmem_encode(
                to->c[0][i] = 0;
        }
 
-
        /* Constraints on "x":
         * - values should be greater or equal to 0.
         * - values should be ascending.
@@ -237,7 +235,6 @@ ia_css_xnr3_vmem_encode(
 
        }
 
-
        /* The implementation of the calulating 1/x is based on the availability
         * of the OP_vec_shuffle16 operation.
         * A 64 element vector is split up in 4 blocks of 16 element. Each array is copied to
@@ -257,8 +254,6 @@ ia_css_xnr3_vmem_encode(
        }
 }
 
-
-
 #endif
 /* Dummy Function added as the tool expects it*/
 void
index fdbb96a..8bc1ca0 100644 (file)
@@ -209,7 +209,6 @@ ia_css_mipi_frame_calculate_size(const unsigned int width,
        *  payload lines.
        */
 
-
        words_per_odd_line = (odd_line_bytes + 3) >> 2;
                /* ceil(odd_line_bytes/4); word = 4 bytes */
        words_per_even_line  = (even_line_bytes  + 3) >> 2;
@@ -251,7 +250,6 @@ ia_css_mipi_frame_enable_check_on_size(const enum ia_css_csi2_port port,
        OP___assert(port < N_CSI_PORTS);
        OP___assert(size_mem_words != 0);
 
-
        for (idx = 0; idx < IA_CSS_MIPI_SIZE_CHECK_MAX_NOF_ENTRIES_PER_PORT &&
                my_css.mipi_sizes_for_check[port][idx] != 0;
                idx++) { /* do nothing */
index 8165154..5b4506a 100644 (file)
@@ -29,7 +29,6 @@
 #define ELDO2_1P8V     0x16
 #define ELDO2_CTRL_SHIFT 0x01
 
-
 struct gmin_subdev {
        struct v4l2_subdev *subdev;
        int clock_num;
@@ -489,7 +488,6 @@ int gmin_v1p8_ctrl(struct v4l2_subdev *subdev, int on)
                        return regulator_disable(gs->v1p8_reg);
        }
 
-
        return -EINVAL;
 }