Skip to contentSkip to conversation

staging: media: tegra-video: Align line break to match with the open parenthesis in file vi.c

PATCH Superseded Aline Santana Cordeiro 2 participants 2 messages Apr 14, 2021 – Apr 15, 2021

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: media: tegra-video: Align line break to match with the open parenthesis in file vi.c

Align line break to match with the open parenthesis. Issue detected by checkpatch.pl.

---
 drivers/staging/media/tegra-video/vi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/media/tegra-video/vi.c +2 -1
index 7a09061c..9878d1e 100644
@@ -1813,7 +1813,8 @@ static int tegra_vi_graph_parse_one(struct tegra_vi_channel *chan,
 		}
 
 		tvge = v4l2_async_notifier_add_fwnode_subdev(&chan->notifier,
-				remote, struct tegra_vi_graph_entity);
+							     remote,
+							     struct tegra_vi_graph_entity);
 		if (IS_ERR(tvge)) {
 			ret = PTR_ERR(tvge);
 			dev_err(vi->dev,
Signature · 1 line
2.7.4
#1 lore raw
Quoted 13 lines · Aline Santana Cordeiro

Align line break to match with the open parenthesis. Issue detected by checkpatch.pl.

---
 drivers/staging/media/tegra-video/vi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/media/tegra-video/vi.c +0 -0
index 7a09061c..9878d1e 100644

drivers/staging/media/tegra-video/vi.c static int tegra_vi_graph_parse_one(struct tegra_vi_channel *chan, · line 1816

Quoted 5 lines
drivers/staging/media/tegra-video/vi.c +1 -1
@@ -1813,7 +1813,8 @@ static int tegra_vi_graph_parse_one(struct tegra_vi_channel *chan,
 		}
 
 		tvge = v4l2_async_notifier_add_fwnode_subdev(&chan->notifier,
-				remote, struct tegra_vi_graph_entity);
+							     remote,

Add this line to the previous line. That looks a bit better and is one line shorter.

Regards,

Hans

Quoted 5 lines
drivers/staging/media/tegra-video/vi.c +1 -0
+							     struct tegra_vi_graph_entity);
 		if (IS_ERR(tvge)) {
 			ret = PTR_ERR(tvge);
 			dev_err(vi->dev,