Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1708591 > unrolled thread
| Started by | Harold Gomez <haroldgmz11@gmail.com> |
|---|---|
| First post | 2017-08-10 14:50 +0200 |
| Last post | 2017-08-10 14:50 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH] staging:media:atomisp: Add blank line after declarations Harold Gomez <haroldgmz11@gmail.com> - 2017-08-10 14:50 +0200
| From | Harold Gomez <haroldgmz11@gmail.com> |
|---|---|
| Date | 2017-08-10 14:50 +0200 |
| Subject | [PATCH] staging:media:atomisp: Add blank line after declarations |
| Message-ID | <ucV4t-5Dc-13@gated-at.bofh.it> |
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
Back to top | Article view | linux.kernel
csiph-web