diff options
author | 2023-02-15 17:24:57 +0200 | |
---|---|---|
committer | 2023-04-12 09:46:06 +0200 | |
commit | a1e259872f3ea282ba3c5d600c99eee286512443 (patch) | |
tree | 9f25c7ca4bd1ff4fef1cf18b8f352f8d28870a79 /drivers/media/platform/renesas | |
parent | media: venus: Correct P010 buffer alignment (diff) | |
download | linux-a1e259872f3ea282ba3c5d600c99eee286512443.tar.gz linux-a1e259872f3ea282ba3c5d600c99eee286512443.tar.bz2 linux-a1e259872f3ea282ba3c5d600c99eee286512443.zip |
media: Fix indentation issues introduced by subdev-wide state struct
Commit 0d346d2a6f54 ("media: v4l2-subdev: add subdev-wide state struct")
applied a large media tree-wide change produced by coccinelle. It was so
large that a set of identical indentation issues went unnoticed during
review. Fix them.
While at it, and because it's easy to review both changes together, add
a trailing comma for the last (and only) struct member initialization of
the related structures, to avoid future changes should new fields need
to be initialized.
Fixes: 0d346d2a6f54 ("media: v4l2-subdev: add subdev-wide state struct")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/platform/renesas')
-rw-r--r-- | drivers/media/platform/renesas/renesas-ceu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/renesas/renesas-ceu.c b/drivers/media/platform/renesas/renesas-ceu.c index 02d1ab23d76d..56b9c59cfda8 100644 --- a/drivers/media/platform/renesas/renesas-ceu.c +++ b/drivers/media/platform/renesas/renesas-ceu.c @@ -795,8 +795,8 @@ static int __ceu_try_fmt(struct ceu_device *ceudev, struct v4l2_format *v4l2_fmt struct v4l2_subdev *v4l2_sd = ceu_sd->v4l2_sd; struct v4l2_subdev_pad_config pad_cfg; struct v4l2_subdev_state pad_state = { - .pads = &pad_cfg - }; + .pads = &pad_cfg, + }; const struct ceu_fmt *ceu_fmt; u32 mbus_code_old; u32 mbus_code; |