Commit 2e58bb4a authored by Varsha Rao's avatar Varsha Rao Committed by Greg Kroah-Hartman

staging: media: atomisp: Remove unnecessary blank lines.

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: default avatarVarsha Rao <rvarsha016@gmail.com>
Acked-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3cd0d092
...@@ -29,8 +29,6 @@ const struct ia_css_ctc2_config default_ctc2_config = { ...@@ -29,8 +29,6 @@ const struct ia_css_ctc2_config default_ctc2_config = {
BASIC_VAL * 8, INEFFECTIVE_VAL, INEFFECTIVE_VAL, BASIC_VAL * 8, INEFFECTIVE_VAL, INEFFECTIVE_VAL,
BASIC_VAL >> 1, BASIC_VAL}; BASIC_VAL >> 1, BASIC_VAL};
/* (dydx) = ctc2_slope(y1, y0, x1, x0) /* (dydx) = ctc2_slope(y1, y0, x1, x0)
* ----------------------------------------------- * -----------------------------------------------
* Calculation of the Slope of a Line = ((y1 - y0) >> 8)/(x1 - x0) * Calculation of the Slope of a Line = ((y1 - y0) >> 8)/(x1 - x0)
......
...@@ -51,7 +51,6 @@ static const int16_t b[XNR3_LOOK_UP_TABLE_POINTS] = { ...@@ -51,7 +51,6 @@ static const int16_t b[XNR3_LOOK_UP_TABLE_POINTS] = {
static const int16_t c[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}; 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
/* /*
#endif #endif
* Default kernel parameters. In general, default is bypass mode or as close * Default kernel parameters. In general, default is bypass mode or as close
...@@ -224,7 +223,6 @@ ia_css_xnr3_vmem_encode( ...@@ -224,7 +223,6 @@ ia_css_xnr3_vmem_encode(
to->c[0][i] = 0; to->c[0][i] = 0;
} }
/* Constraints on "x": /* Constraints on "x":
* - values should be greater or equal to 0. * - values should be greater or equal to 0.
* - values should be ascending. * - values should be ascending.
...@@ -237,7 +235,6 @@ ia_css_xnr3_vmem_encode( ...@@ -237,7 +235,6 @@ ia_css_xnr3_vmem_encode(
} }
/* The implementation of the calulating 1/x is based on the availability /* The implementation of the calulating 1/x is based on the availability
* of the OP_vec_shuffle16 operation. * of the OP_vec_shuffle16 operation.
* A 64 element vector is split up in 4 blocks of 16 element. Each array is copied to * 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( ...@@ -257,8 +254,6 @@ ia_css_xnr3_vmem_encode(
} }
} }
#endif #endif
/* Dummy Function added as the tool expects it*/ /* Dummy Function added as the tool expects it*/
void void
......
...@@ -209,7 +209,6 @@ ia_css_mipi_frame_calculate_size(const unsigned int width, ...@@ -209,7 +209,6 @@ ia_css_mipi_frame_calculate_size(const unsigned int width,
* payload lines. * payload lines.
*/ */
words_per_odd_line = (odd_line_bytes + 3) >> 2; words_per_odd_line = (odd_line_bytes + 3) >> 2;
/* ceil(odd_line_bytes/4); word = 4 bytes */ /* ceil(odd_line_bytes/4); word = 4 bytes */
words_per_even_line = (even_line_bytes + 3) >> 2; 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, ...@@ -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(port < N_CSI_PORTS);
OP___assert(size_mem_words != 0); OP___assert(size_mem_words != 0);
for (idx = 0; idx < IA_CSS_MIPI_SIZE_CHECK_MAX_NOF_ENTRIES_PER_PORT && for (idx = 0; idx < IA_CSS_MIPI_SIZE_CHECK_MAX_NOF_ENTRIES_PER_PORT &&
my_css.mipi_sizes_for_check[port][idx] != 0; my_css.mipi_sizes_for_check[port][idx] != 0;
idx++) { /* do nothing */ idx++) { /* do nothing */
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#define ELDO2_1P8V 0x16 #define ELDO2_1P8V 0x16
#define ELDO2_CTRL_SHIFT 0x01 #define ELDO2_CTRL_SHIFT 0x01
struct gmin_subdev { struct gmin_subdev {
struct v4l2_subdev *subdev; struct v4l2_subdev *subdev;
int clock_num; int clock_num;
...@@ -489,7 +488,6 @@ int gmin_v1p8_ctrl(struct v4l2_subdev *subdev, int on) ...@@ -489,7 +488,6 @@ int gmin_v1p8_ctrl(struct v4l2_subdev *subdev, int on)
return regulator_disable(gs->v1p8_reg); return regulator_disable(gs->v1p8_reg);
} }
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment