Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1689240 > unrolled thread

[PATCH 4/5] parport: move open braces to the same line

Started byCarlos Palminha <CARLOS.PALMINHA@synopsys.com>
First post2017-07-17 18:40 +0200
Last post2017-07-17 18:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 4/5] parport: move open braces to the same line Carlos Palminha <CARLOS.PALMINHA@synopsys.com> - 2017-07-17 18:40 +0200

#1689240 — [PATCH 4/5] parport: move open braces to the same line

FromCarlos Palminha <CARLOS.PALMINHA@synopsys.com>
Date2017-07-17 18:40 +0200
Subject[PATCH 4/5] parport: move open braces to the same line
Message-ID<u4hdU-7rt-23@gated-at.bofh.it>
based on checkpatch, cleanup the open braces that "should be on the
previous line".

Signed-off-by: Carlos Palminha <palminha@synopsys.com>
---
 drivers/parport/daisy.c          | 3 +--
 drivers/parport/parport_gsc.c    | 3 +--
 drivers/parport/parport_sunbpp.c | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/drivers/parport/daisy.c b/drivers/parport/daisy.c
index 568d3733ae4e..b19d7f632edb 100644
--- a/drivers/parport/daisy.c
+++ b/drivers/parport/daisy.c
@@ -354,8 +354,7 @@ void parport_daisy_deselect_all(struct parport *port)
 
 int parport_daisy_select(struct parport *port, int daisy, int mode)
 {
-	switch (mode)
-	{
+	switch (mode) {
 		// For these modes we should switch to EPP mode:
 		case IEEE1284_MODE_EPP:
 		case IEEE1284_MODE_EPPSL:
diff --git a/drivers/parport/parport_gsc.c b/drivers/parport/parport_gsc.c
index 626df53d6d9d..9c2493fa29ff 100644
--- a/drivers/parport/parport_gsc.c
+++ b/drivers/parport/parport_gsc.c
@@ -95,8 +95,7 @@ void parport_gsc_restore_state(struct parport *p, struct parport_state *s)
 	parport_writeb(s->u.pc.ctr, CONTROL(p));
 }
 
-struct parport_operations parport_gsc_ops = 
-{
+struct parport_operations parport_gsc_ops = {
 	.write_data	= parport_gsc_write_data,
 	.read_data	= parport_gsc_read_data,
 
diff --git a/drivers/parport/parport_sunbpp.c b/drivers/parport/parport_sunbpp.c
index c87bf4ac2006..6037008579f1 100644
--- a/drivers/parport/parport_sunbpp.c
+++ b/drivers/parport/parport_sunbpp.c
@@ -228,8 +228,7 @@ static void parport_sunbpp_restore_state(struct parport *p, struct parport_state
 	parport_sunbpp_write_control(p, s->u.pc.ctr);
 }
 
-static struct parport_operations parport_sunbpp_ops = 
-{
+static struct parport_operations parport_sunbpp_ops = {
 	.write_data	= parport_sunbpp_write_data,
 	.read_data	= parport_sunbpp_read_data,
 
-- 
2.11.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web