From: Chao Fu <b44548@freescale.com>
To: <linux-spi@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>, <broonie@kernel.org>,
<grant.likely@linaro.org>
Cc: Chao Fu <b44548@freescale.com>
Subject: [PATCH v4 2/2] spi:dspi:Remove some coding sytle not in standard
Date: Wed, 12 Feb 2014 15:29:06 +0800 [thread overview]
Message-ID: <1392190146-18852-2-git-send-email-b44548@freescale.com> (raw)
In-Reply-To: <1392190146-18852-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 v4:
None.
Change in v3:
None.
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 fb16575..42ede0d 100644
--- a/drivers/spi/spi-fsl-dspi.c
+++ b/drivers/spi/spi-fsl-dspi.c
@@ -111,9 +111,9 @@ struct fsl_dspi {
struct regmap *regmap;
int irq;
- struct clk *clk;
+ struct clk *clk;
- struct spi_transfer *cur_transfer;
+ struct spi_transfer *cur_transfer;
struct chip_data *cur_chip;
size_t len;
void *tx;
@@ -124,8 +124,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 int is_double_byte_mode(struct fsl_dspi *dspi)
--
1.8.4
next prev parent reply other threads:[~2014-02-12 7:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-12 7:29 [PATCH v4 1/2] spi:fsl-dspi:convert to use regmap and big-endian supports Chao Fu
2014-02-12 7:29 ` Chao Fu [this message]
2014-02-14 7:33 ` Li.Xiubo
[not found] ` <065acacc2f4f461cbd310eb54737a32e-ufbTtyGzTTTFwE0YMf9HFeO6mTEJWrR4XA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
2014-02-16 1:14 ` Mark Brown
[not found] ` <1392190146-18852-1-git-send-email-b44548-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2014-02-16 1:16 ` Mark Brown
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=1392190146-18852-2-git-send-email-b44548@freescale.com \
--to=b44548@freescale.com \
--cc=broonie@kernel.org \
--cc=grant.likely@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-spi@vger.kernel.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).