[media] media: Remove unnecessary semicolons
These aren't necessary after switch and while statements. Signed-off-by: Joe Perches <joe@perches.com> Reviewed-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
cfd736adf6
commit
2028c71d54
13 changed files with 16 additions and 16 deletions
|
@ -85,7 +85,7 @@ static void flexcop_sram_write(struct adapter *adapter, u32 bank, u32 addr, u8 *
|
|||
while (((read_reg_dw(adapter, 0x700) & 0x80000000) != 0) && (retries > 0)) {
|
||||
mdelay(1);
|
||||
retries--;
|
||||
};
|
||||
}
|
||||
|
||||
if (retries == 0)
|
||||
printk("%s: SRAM timeout\n", __func__);
|
||||
|
@ -110,7 +110,7 @@ static void flex_sram_read(struct adapter *adapter, u32 bank, u32 addr, u8 *buf,
|
|||
while (((read_reg_dw(adapter, 0x700) & 0x80000000) != 0) && (retries > 0)) {
|
||||
mdelay(1);
|
||||
retries--;
|
||||
};
|
||||
}
|
||||
|
||||
if (retries == 0)
|
||||
printk("%s: SRAM timeout\n", __func__);
|
||||
|
@ -122,7 +122,7 @@ static void flex_sram_read(struct adapter *adapter, u32 bank, u32 addr, u8 *buf,
|
|||
while (((read_reg_dw(adapter, 0x700) & 0x80000000) != 0) && (retries > 0)) {
|
||||
mdelay(1);
|
||||
retries--;
|
||||
};
|
||||
}
|
||||
|
||||
if (retries == 0)
|
||||
printk("%s: SRAM timeout\n", __func__);
|
||||
|
|
|
@ -378,7 +378,7 @@ static int cx24110_set_voltage (struct dvb_frontend* fe, fe_sec_voltage_t voltag
|
|||
return cx24110_writereg(state,0x76,(cx24110_readreg(state,0x76)&0x3b)|0x40);
|
||||
default:
|
||||
return -EINVAL;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
static int cx24110_diseqc_send_burst(struct dvb_frontend* fe, fe_sec_mini_cmd_t burst)
|
||||
|
|
|
@ -739,7 +739,7 @@ static int cx24123_set_voltage(struct dvb_frontend *fe,
|
|||
return 0;
|
||||
default:
|
||||
return -EINVAL;
|
||||
};
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -189,7 +189,7 @@ static int tda8083_set_tone (struct tda8083_state* state, fe_sec_tone_mode_t ton
|
|||
return tda8083_writereg (state, 0x29, 0x80);
|
||||
default:
|
||||
return -EINVAL;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
static int tda8083_set_voltage (struct tda8083_state* state, fe_sec_voltage_t voltage)
|
||||
|
@ -201,7 +201,7 @@ static int tda8083_set_voltage (struct tda8083_state* state, fe_sec_voltage_t vo
|
|||
return tda8083_writereg (state, 0x20, 0x11);
|
||||
default:
|
||||
return -EINVAL;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
static int tda8083_send_diseqc_burst (struct tda8083_state* state, fe_sec_mini_cmd_t burst)
|
||||
|
|
|
@ -371,7 +371,7 @@ static void ov9640_alter_regs(enum v4l2_mbus_pixelcode code,
|
|||
alt->com13 = OV9640_COM13_RGB_AVG;
|
||||
alt->com15 = OV9640_COM15_RGB_565;
|
||||
break;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
/* Setup registers according to resolution and color encoding */
|
||||
|
|
|
@ -511,7 +511,7 @@ static int __ctrl_set_metering(struct fimc_is *is, unsigned int value)
|
|||
break;
|
||||
default:
|
||||
return -EINVAL;
|
||||
};
|
||||
}
|
||||
|
||||
__is_set_isp_metering(is, IS_METERING_CONFIG_CMD, val);
|
||||
return 0;
|
||||
|
|
|
@ -111,7 +111,7 @@ static int s5p_mfc_open_inst_cmd_v5(struct s5p_mfc_ctx *ctx)
|
|||
break;
|
||||
default:
|
||||
h2r_args.arg[0] = S5P_FIMV_CODEC_NONE;
|
||||
};
|
||||
}
|
||||
h2r_args.arg[1] = 0; /* no crc & no pixelcache */
|
||||
h2r_args.arg[2] = ctx->ctx.ofs;
|
||||
h2r_args.arg[3] = ctx->ctx.size;
|
||||
|
|
|
@ -113,7 +113,7 @@ static int s5p_mfc_open_inst_cmd_v6(struct s5p_mfc_ctx *ctx)
|
|||
break;
|
||||
default:
|
||||
codec_type = S5P_FIMV_CODEC_NONE_V6;
|
||||
};
|
||||
}
|
||||
mfc_write(dev, codec_type, S5P_FIMV_CODEC_TYPE_V6);
|
||||
mfc_write(dev, ctx->ctx.dma, S5P_FIMV_CONTEXT_MEM_ADDR_V6);
|
||||
mfc_write(dev, ctx->ctx.size, S5P_FIMV_CONTEXT_MEM_SIZE_V6);
|
||||
|
|
|
@ -1582,7 +1582,7 @@ static int s5p_mfc_get_int_reason_v5(struct s5p_mfc_dev *dev)
|
|||
break;
|
||||
default:
|
||||
reason = S5P_MFC_R2H_CMD_EMPTY;
|
||||
};
|
||||
}
|
||||
return reason;
|
||||
}
|
||||
|
||||
|
|
|
@ -226,7 +226,7 @@ static void mxr_graph_fix_geometry(struct mxr_layer *layer,
|
|||
src->width + src->x_offset, 32767);
|
||||
src->full_height = clamp_val(src->full_height,
|
||||
src->height + src->y_offset, 2047);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
/* PUBLIC API */
|
||||
|
|
|
@ -197,7 +197,7 @@ static void mxr_vp_fix_geometry(struct mxr_layer *layer,
|
|||
ALIGN(src->width + src->x_offset, 8), 8192U);
|
||||
src->full_height = clamp(src->full_height,
|
||||
src->height + src->y_offset, 8192U);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
/* PUBLIC API */
|
||||
|
|
|
@ -254,7 +254,7 @@ static unsigned int si470x_get_step(struct si470x_device *radio)
|
|||
/* 2: 50 kHz */
|
||||
default:
|
||||
return 50 * 16;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -583,7 +583,7 @@ const s64 const *v4l2_ctrl_get_int_menu(u32 id, u32 *len)
|
|||
default:
|
||||
*len = 0;
|
||||
return NULL;
|
||||
};
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL(v4l2_ctrl_get_int_menu);
|
||||
|
||||
|
|
Loading…
Reference in a new issue