[PATCH] media:atomisp:ap1302 Fix style warning

From: Harold Gomez
Date: Thu Aug 10 2017 - 09:06:53 EST


Add a blank line after declarations
to avoid checkpatch.pl script warning

Signed-off-by: Harold Gomez <haroldgmz11@xxxxxxxxx>
---
drivers/staging/media/atomisp/i2c/ap1302.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/staging/media/atomisp/i2c/ap1302.c b/drivers/staging/media/atomisp/i2c/ap1302.c
index 7a0c0d5..fba4f96 100644
--- a/drivers/staging/media/atomisp/i2c/ap1302.c
+++ b/drivers/staging/media/atomisp/i2c/ap1302.c
@@ -263,6 +263,7 @@ static int ap1302_read_context_reg(struct v4l2_subdev *sd,
{
struct ap1302_device *dev = to_ap1302_device(sd);
u16 reg_addr = ap1302_calculate_context_reg_addr(context, offset);
+
if (reg_addr == 0)
return -EINVAL;
return ap1302_i2c_read_reg(sd, reg_addr, len,
--
2.1.4