linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chao Fu <b44548-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
To: <linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Cc: <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	<grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Chao Fu <B44548-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
	Chao Fu <b44548-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
Subject: [PATCH v2 2/2] spi:dspi:Remove some coding sytle not in standard
Date: Wed, 8 Jan 2014 14:14:15 +0800	[thread overview]
Message-ID: <1389161655-21856-2-git-send-email-b44548@freescale.com> (raw)
In-Reply-To: <1389161655-21856-1-git-send-email-b44548-KZfg59tc24xl57MIdRCFDg@public.gmane.org>

From: Chao Fu <B44548-KZfg59tc24xl57MIdRCFDg@public.gmane.org>

Remove some coding sytle not in standard in former code.

Signed-off-by: Chao Fu      <b44548-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
---
Change in v2:
	New.

 drivers/spi/spi-fsl-dspi.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c
index 1cd6d79..76cd521 100644
--- a/drivers/spi/spi-fsl-dspi.c
+++ b/drivers/spi/spi-fsl-dspi.c
@@ -113,10 +113,10 @@ struct fsl_dspi {
 
 	void __iomem		*base;
 	int			irq;
-	struct clk 		*clk;
+	struct clk		*clk;
 
 	bool			big_endian;
-	struct spi_transfer 	*cur_transfer;
+	struct spi_transfer	*cur_transfer;
 	struct chip_data	*cur_chip;
 	size_t			len;
 	void			*tx;
@@ -127,8 +127,8 @@ struct fsl_dspi {
 	u8			cs;
 	u16			void_write_data;
 
-	wait_queue_head_t 	waitq;
-	u32 			waitflags;
+	wait_queue_head_t	waitq;
+	u32			waitflags;
 };
 
 static inline u8 dspi_readb(void __iomem *addr)
-- 
1.8.4


--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2014-01-08  6:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-08  6:14 [PATCH v2 1/2] spi:fsl-dspi:add support of DSPI IP in big endian Chao Fu
     [not found] ` <1389161655-21856-1-git-send-email-b44548-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2014-01-08  6:14   ` Chao Fu [this message]
     [not found]     ` <1389161655-21856-2-git-send-email-b44548-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2014-01-09 17:53       ` [PATCH v2 2/2] spi:dspi:Remove some coding sytle not in standard Mark Brown
2014-01-09 17:52   ` [PATCH v2 1/2] spi:fsl-dspi:add support of DSPI IP in big endian Mark Brown
     [not found]     ` <20140109175208.GK12858-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-01-10  8:11       ` Chao Fu
     [not found]         ` <e9c8019df2cf4d76ae2b77c5d1420050-AZ66ij2kwaYw6E1ICcNxleO6mTEJWrR4XA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
2014-01-10 12:40           ` Mark Brown
     [not found]             ` <20140110124014.GI29039-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-01-10 12:53               ` Russell King - ARM Linux

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=1389161655-21856-2-git-send-email-b44548@freescale.com \
    --to=b44548-kzfg59tc24xl57midrcfdg@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /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;
as well as URLs for NNTP newsgroup(s).