[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20170810124501.GA2793@localhost.localdomain>
Date: Thu, 10 Aug 2017 18:15:01 +0530
From: Harold Gomez <haroldgmz11@...il.com>
To: mchehab@...nel.org
Cc: gregkh@...uxfoundation.org, linux-media@...r.kernel.org,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH] staging:media:atomisp: Add blank line after declarations
Add blank line after declarations
to avoid warning from checkpatch.pl script
Signed-off-by: Harold Gomez <haroldgmz11@...il.com>
---
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 995f243..fd0f2ac 100644
--- a/drivers/staging/media/atomisp/i2c/ap1302.c
+++ b/drivers/staging/media/atomisp/i2c/ap1302.c
@@ -211,6 +211,7 @@ static int ap1302_i2c_write_reg(struct v4l2_subdev *sd,
struct ap1302_device *dev = to_ap1302_device(sd);
struct i2c_client *client = v4l2_get_subdevdata(sd);
int ret;
+
if (len == AP1302_REG16)
ret = regmap_write(dev->regmap16, reg, val);
else if (len == AP1302_REG32)
--
2.1.4
Powered by blists - more mailing lists