Skip to contentSkip to conversation

media: staging/intel-ipu3: Reformat pointer initialization

PATCH In review Deepak R Varma 2 participants 2 messages Mar 22, 2020 – Mar 30, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 media: staging/intel-ipu3: Reformat pointer initialization

Reformat pointer initialization to make it more readable as per the coding standards. Problem detected by checkpatch.

---

Changes since v2:
- Unrelated change to be removed from this change and to be sent as a separate patch as advised by Julia.
Changes since v1:
- Correct commit message and description as advised by Stefano. Its pointer initialization and not declaration as mentioned earlier.

 drivers/staging/media/ipu3/ipu3-v4l2.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/staging/media/ipu3/ipu3-v4l2.c +3 -2
index 569e27b824c8..097c10d9da2a 100644
@@ -1013,8 +1013,9 @@ static const struct v4l2_ioctl_ops imgu_v4l2_meta_ioctl_ops = {
 
 static int imgu_sd_s_ctrl(struct v4l2_ctrl *ctrl)
 {
-	struct imgu_v4l2_subdev *imgu_sd =
-		container_of(ctrl->handler, struct imgu_v4l2_subdev, ctrl_handler);
+	struct imgu_v4l2_subdev *imgu_sd = container_of(ctrl->handler,
+							struct imgu_v4l2_subdev,
+							ctrl_handler);
 	struct imgu_device *imgu = v4l2_get_subdevdata(&imgu_sd->subdev);
 	struct device *dev = &imgu->pci_dev->dev;
 
Signature · 1 line
2.17.1