Skip to content

Commit

Permalink
media: i2c: Fix Unnecessary Semicolon Warning Reported by coccicheck
Browse files Browse the repository at this point in the history
	Removed the warning from the following files:

	drivers/media/i2c/ov13858.c
	drivers/media/i2c/ov2685.c
	drivers/media/i2c/ov5695.c

Signed-off-by: Shobhit Kukreti <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
Shobhit Kukreti authored and mchehab committed Jun 21, 2019
1 parent 4196ad7 commit 26092e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/media/i2c/ov13858.c
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ static int ov13858_set_ctrl(struct v4l2_ctrl *ctrl)
ov13858->exposure->minimum,
max, ov13858->exposure->step, max);
break;
};
}

/*
* Applying V4L2 control value only happens
Expand Down Expand Up @@ -1262,7 +1262,7 @@ static int ov13858_set_ctrl(struct v4l2_ctrl *ctrl)
"ctrl(id:0x%x,val:0x%x) is not handled\n",
ctrl->id, ctrl->val);
break;
};
}

pm_runtime_put(&client->dev);

Expand Down
2 changes: 1 addition & 1 deletion drivers/media/i2c/ov2685.c
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ static int ov2685_set_ctrl(struct v4l2_ctrl *ctrl)
__func__, ctrl->id, ctrl->val);
ret = -EINVAL;
break;
};
}

pm_runtime_put(&client->dev);

Expand Down
2 changes: 1 addition & 1 deletion drivers/media/i2c/ov5695.c
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ static int ov5695_set_ctrl(struct v4l2_ctrl *ctrl)
dev_warn(&client->dev, "%s Unhandled id:0x%x, val:0x%x\n",
__func__, ctrl->id, ctrl->val);
break;
};
}

pm_runtime_put(&client->dev);

Expand Down

0 comments on commit 26092e7

Please sign in to comment.