All of lore.kernel.org
 help / color / mirror / Atom feed
From: christopher.lee.bostic@gmail.com
To: openbmc@lists.ozlabs.org
Cc: joel@jms.id.au, zahrens@us.ibm.com, xxpetri@de.ibm.com,
	Chris Bostic <cbostic@us.ibm.com>
Subject: [PATCH linux v2 14/17] drivers/fsi: Fix some text formatting
Date: Sat,  8 Oct 2016 12:38:50 -0500	[thread overview]
Message-ID: <1475948333-55960-15-git-send-email-christopher.lee.bostic@gmail.com> (raw)
In-Reply-To: <1475948333-55960-1-git-send-email-christopher.lee.bostic@gmail.com>

From: Chris Bostic <cbostic@us.ibm.com>

Cleaned up a few formatting warnings like blank lines at EOF
and block comment style.

Signed-off-by: Chris Bostic <cbostic@us.ibm.com>
---
 drivers/fsi/fsi-core.c        | 8 ++++++--
 drivers/fsi/fsi-master-fake.c | 1 -
 drivers/fsi/fsi-master-gpio.c | 1 -
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/drivers/fsi/fsi-core.c b/drivers/fsi/fsi-core.c
index 10bf817..a3a860a 100644
--- a/drivers/fsi/fsi-core.c
+++ b/drivers/fsi/fsi-core.c
@@ -87,6 +87,7 @@ int fsi_device_peek(struct fsi_device *dev, void *val)
 static void fsi_device_release(struct device *_device)
 {
 	struct fsi_device *device = to_fsi_dev(_device);
+
 	kfree(device);
 }
 
@@ -185,8 +186,10 @@ static int fsi_slave_scan(struct fsi_slave *slave)
 		type = (conf & FSI_SLAVE_CONF_TYPE_MASK)
 			>> FSI_SLAVE_CONF_TYPE_SHIFT;
 
-		/* Unused address areas are marked by a zero type value; this
-		 * skips the defined address areas */
+		/*
+		 * Unused address areas are marked by a zero type value; this
+		 * skips the defined address areas
+		 */
 		if (type != 0) {
 
 			/* create device */
@@ -229,6 +232,7 @@ static int fsi_slave_scan(struct fsi_slave *slave)
 static void fsi_slave_release(struct device *dev)
 {
 	struct fsi_slave *slave = to_fsi_slave(dev);
+
 	kfree(slave);
 }
 
diff --git a/drivers/fsi/fsi-master-fake.c b/drivers/fsi/fsi-master-fake.c
index 50aac0b..ec1ed5e 100644
--- a/drivers/fsi/fsi-master-fake.c
+++ b/drivers/fsi/fsi-master-fake.c
@@ -93,4 +93,3 @@ static int __init fsi_master_fake_init(void)
 }
 
 module_init(fsi_master_fake_init);
-
diff --git a/drivers/fsi/fsi-master-gpio.c b/drivers/fsi/fsi-master-gpio.c
index 3855829..5c3d5cd 100644
--- a/drivers/fsi/fsi-master-gpio.c
+++ b/drivers/fsi/fsi-master-gpio.c
@@ -89,4 +89,3 @@ static struct platform_driver fsi_master_gpio_driver = {
 };
 
 module_platform_driver(fsi_master_gpio_driver);
-
-- 
1.8.2.2

  parent reply	other threads:[~2016-10-08 17:39 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-08 17:38 [PATCH linux v2 00/17] FSI device driver introduction christopher.lee.bostic
2016-10-08 17:38 ` [PATCH linux v2 01/17] fsi: Add empty fsi bus definitions christopher.lee.bostic
2016-10-08 17:38 ` [PATCH linux v2 02/17] fsi: Add device & driver definitions christopher.lee.bostic
2016-10-08 17:38 ` [PATCH linux v2 03/17] fsi: add driver to device matches christopher.lee.bostic
2016-10-08 17:38 ` [PATCH linux v2 04/17] fsi: Add fsi master definition christopher.lee.bostic
2016-10-08 17:38 ` [PATCH linux v2 05/17] fsi: Add fake master driver christopher.lee.bostic
2016-10-08 17:38 ` [PATCH linux v2 06/17] fsi: enable debug christopher.lee.bostic
2016-10-08 17:38 ` [PATCH linux v2 07/17] fsi: Add slave defintion christopher.lee.bostic
2016-10-08 17:38 ` [PATCH linux v2 08/17] fsi: Add empty master scan christopher.lee.bostic
2016-10-08 17:38 ` [PATCH linux v2 09/17] fsi: Add crc4 helpers christopher.lee.bostic
2016-10-08 17:38 ` [PATCH linux v2 10/17] fsi: Implement slave initialisation christopher.lee.bostic
2016-10-08 17:38 ` [PATCH linux v2 11/17] fsi: scan slaves & register devices christopher.lee.bostic
2016-10-08 17:38 ` [PATCH linux v2 12/17] fsi: Add device read/write/peek functions christopher.lee.bostic
2016-10-08 17:38 ` [PATCH linux v2 13/17] fsi: Add GPIO master driver christopher.lee.bostic
2016-10-08 17:38 ` christopher.lee.bostic [this message]
2016-10-10  2:51   ` [PATCH linux v2 14/17] drivers/fsi: Fix some text formatting Jeremy Kerr
2016-10-10 14:27     ` Christopher Bostic
2016-10-10 15:46       ` Jeremy Kerr
2016-10-08 17:38 ` [PATCH linux v2 15/17] drivers/fsi: Revisions to existing patch set christopher.lee.bostic
2016-10-08 17:38 ` [PATCH linux v2 16/17] drivers/fsi: Set up CFAMs for communication christopher.lee.bostic
2016-10-10  0:56   ` Jeremy Kerr
2016-10-10 13:53     ` Christopher Bostic
2016-10-10 15:48       ` Jeremy Kerr
2016-10-11  0:04         ` Joel Stanley
2016-10-11 15:37           ` Christopher Bostic
2016-10-08 17:38 ` [PATCH linux v2 17/17] drivers/fsi: Add GPIO master functionality christopher.lee.bostic
2016-10-10  0:56   ` Jeremy Kerr
2016-10-10 13:46     ` Christopher Bostic
2016-10-10 15:34       ` Jeremy Kerr

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=1475948333-55960-15-git-send-email-christopher.lee.bostic@gmail.com \
    --to=christopher.lee.bostic@gmail.com \
    --cc=cbostic@us.ibm.com \
    --cc=joel@jms.id.au \
    --cc=openbmc@lists.ozlabs.org \
    --cc=xxpetri@de.ibm.com \
    --cc=zahrens@us.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.