From: Carlos Palminha <CARLOS.PALMINHA@synopsys.com>
To: <linux-kernel@vger.kernel.org>, <linux-parport@lists.infradead.org>
Cc: <sudipm.mukherjee@gmail.com>, <sudip.mukherjee@codethink.co.uk>,
<akpm@linux-foundation.org>,
Carlos Palminha <CARLOS.PALMINHA@synopsys.com>
Subject: [PATCH 4/5] parport: move open braces to the same line
Date: Mon, 17 Jul 2017 17:37:01 +0100 [thread overview]
Message-ID: <20170717163702.17427-5-palminha@synopsys.com> (raw)
In-Reply-To: <20170717163702.17427-1-palminha@synopsys.com>
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
next prev parent reply other threads:[~2017-07-17 16:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-17 16:36 [PATCH 0/5] parport: cleanup several checkpatch issues Carlos Palminha
2017-07-17 16:36 ` [PATCH 1/5] parport: add newline to trailing statements Carlos Palminha
2017-08-07 20:42 ` Sudip Mukherjee
2017-07-17 16:36 ` [PATCH 2/5] parport: cleanup prohibited space after functions name Carlos Palminha
2017-08-07 20:49 ` Sudip Mukherjee
2017-07-17 16:37 ` [PATCH 3/5] parport: cleanup statics initialization to NULL or 0 Carlos Palminha
2017-07-17 16:37 ` Carlos Palminha [this message]
2017-07-17 16:40 ` [PATCH 5/5] parport: remove unnecessary braces Carlos Palminha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170717163702.17427-5-palminha@synopsys.com \
--to=carlos.palminha@synopsys.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-parport@lists.infradead.org \
--cc=sudip.mukherjee@codethink.co.uk \
--cc=sudipm.mukherjee@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®