media: i2c: Fix Unnecessary Semicolon Warning Reported by coccicheck
authorShobhit Kukreti <shobhitkukreti@gmail.com>
Sat, 1 Jun 2019 15:27:34 +0000 (11:27 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 21 Jun 2019 21:52:50 +0000 (17:52 -0400)
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 <shobhitkukreti@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/ov13858.c
drivers/media/i2c/ov2685.c
drivers/media/i2c/ov5695.c

index 45bb872db3c56c7b7efaf3a16f8a2da3e8e49eb0..aac6f77afa0f446e302670b31ebf8d605c731e63 100644 (file)
@@ -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
@@ -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);
 
index 98a1f2e312b58249069de19f7b3c78dc4bf4e85d..6814583d9606fc55f2b55906ab85c95af322d7b6 100644 (file)
@@ -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);
 
index 5d107c53364d64249374431d7c1a236ead06e4b4..e65a94353175d26f06ee5f25702aa4274e1d74df 100644 (file)
@@ -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);