From: b44548@freescale.com (Chao Fu)
To: linux-arm-kernel@lists.infradead.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@freescale.com>
From: Chao Fu <B44548@freescale.com>
Remove some coding sytle not in standard in former code.
Signed-off-by: Chao Fu <b44548@freescale.com>
---
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
next prev 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
2014-01-08 6:14 ` Chao Fu [this message]
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
2014-01-10 8:11 ` Chao Fu
2014-01-10 12:40 ` Mark Brown
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@freescale.com \
--cc=linux-arm-kernel@lists.infradead.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).