* [PATCH] staging:media:atomisp: Add blank line after declarations
@ 2017-08-10 12:45 Harold Gomez
0 siblings, 0 replies; only message in thread
From: Harold Gomez @ 2017-08-10 12:45 UTC (permalink / raw)
To: mchehab; +Cc: gregkh, linux-media, devel, linux-kernel
Add blank line after declarations
to avoid warning from checkpatch.pl script
Signed-off-by: Harold Gomez <haroldgmz11@gmail.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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-08-10 12:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-10 12:45 [PATCH] staging:media:atomisp: Add blank line after declarations Harold Gomez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®