提交 054d8830 编写于 作者: M Mauro Carvalho Chehab

media: ov772x: fix whitespace issues

As we're adding this as a new driver, make checkpatch happier by
solving some whitespace issues, using --fix-inplace.
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 186c446f
...@@ -375,7 +375,7 @@ ...@@ -375,7 +375,7 @@
*/ */
#define OV7720 0x7720 #define OV7720 0x7720
#define OV7725 0x7721 #define OV7725 0x7721
#define VERSION(pid, ver) ((pid<<8)|(ver&0xFF)) #define VERSION(pid, ver) ((pid << 8) | (ver & 0xFF))
/* /*
* PLL multipliers * PLL multipliers
...@@ -500,7 +500,6 @@ static const struct ov772x_color_format ov772x_cfmts[] = { ...@@ -500,7 +500,6 @@ static const struct ov772x_color_format ov772x_cfmts[] = {
}, },
}; };
/* /*
* window size list * window size list
*/ */
...@@ -557,6 +556,7 @@ static int ov772x_mask_set(struct i2c_client *client, u8 command, u8 mask, ...@@ -557,6 +556,7 @@ static int ov772x_mask_set(struct i2c_client *client, u8 command, u8 mask,
u8 set) u8 set)
{ {
s32 val = ov772x_read(client, command); s32 val = ov772x_read(client, command);
if (val < 0) if (val < 0)
return val; return val;
...@@ -919,7 +919,6 @@ static int ov772x_set_params(struct ov772x_priv *priv, ...@@ -919,7 +919,6 @@ static int ov772x_set_params(struct ov772x_priv *priv,
* Edge Ctrl * Edge Ctrl
*/ */
if (priv->info->edgectrl.strength & OV772X_MANUAL_EDGE_CTRL) { if (priv->info->edgectrl.strength & OV772X_MANUAL_EDGE_CTRL) {
/* /*
* Manual Edge Control Mode * Manual Edge Control Mode
* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册