diff options
author | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2021-01-05 15:47:19 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-01-26 19:19:08 +0100 |
commit | 36e4f2b2e3f7a9d8f9f08bc68a05d64d23b34c3d (patch) | |
tree | 241d13e52c4933381315e690aadcbd2b20af977b /drivers/media/i2c/ov5648.c | |
parent | media: dt-bindings: media: Use graph and video-interfaces schemas (diff) | |
download | linux-36e4f2b2e3f7a9d8f9f08bc68a05d64d23b34c3d.tar.xz linux-36e4f2b2e3f7a9d8f9f08bc68a05d64d23b34c3d.zip |
media: i2c: ov5648/ov8865: Minor cosmetic fixes
This solves a few minor cosmetic issues picked up by checkpatch for
the OV5648 and OV8865 drivers.
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/i2c/ov5648.c')
-rw-r--r-- | drivers/media/i2c/ov5648.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov5648.c b/drivers/media/i2c/ov5648.c index 609aa67b54ce..110190b322e2 100644 --- a/drivers/media/i2c/ov5648.c +++ b/drivers/media/i2c/ov5648.c @@ -496,7 +496,8 @@ container_of(s, struct ov5648_sensor, subdev) #define ov5648_ctrl_subdev(c) \ - (&container_of(c->handler, struct ov5648_sensor, ctrls.handler)->subdev) + (&container_of((c)->handler, struct ov5648_sensor, \ + ctrls.handler)->subdev) /* Data structures */ |