From: Thomas Behan <thomas.behan@gmail.com>
To: linux-spi@vger.kernel.org
Cc: broonie@linaro.org, linux-kernel@vger.kernel.org,
Thomas Behan <thomas.behan@gmail.com>
Subject: [PATCH 2/4] spi: omap-100k: Fixed spacing on -= operators
Date: Wed, 27 Nov 2013 23:27:22 -0500 [thread overview]
Message-ID: <1385612844-22482-3-git-send-email-thomas.behan@gmail.com> (raw)
In-Reply-To: <1385612844-22482-1-git-send-email-thomas.behan@gmail.com>
checkpatch.pl generated 3 errors from "x-=" statements which should have read
"x -= x" to comply with the style guide. These errors have been fixed.
Signed-off-by: Thomas Behan <thomas.behan@gmail.com>
---
drivers/spi/spi-omap-100k.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/spi/spi-omap-100k.c b/drivers/spi/spi-omap-100k.c
index bdf6696..5db8d2a 100644
--- a/drivers/spi/spi-omap-100k.c
+++ b/drivers/spi/spi-omap-100k.c
@@ -221,7 +221,7 @@ omap1_spi100k_txrx_pio(struct spi_device *spi, struct spi_transfer *xfer)
rx = xfer->rx_buf;
tx = xfer->tx_buf;
do {
- c-=1;
+ c -= 1;
if (xfer->tx_buf != NULL)
spi100k_write_data(spi->master, word_len, *tx++);
if (xfer->rx_buf != NULL)
@@ -234,7 +234,7 @@ omap1_spi100k_txrx_pio(struct spi_device *spi, struct spi_transfer *xfer)
rx = xfer->rx_buf;
tx = xfer->tx_buf;
do {
- c-=2;
+ c -= 2;
if (xfer->tx_buf != NULL)
spi100k_write_data(spi->master,word_len, *tx++);
if (xfer->rx_buf != NULL)
@@ -247,7 +247,7 @@ omap1_spi100k_txrx_pio(struct spi_device *spi, struct spi_transfer *xfer)
rx = xfer->rx_buf;
tx = xfer->tx_buf;
do {
- c-=4;
+ c -= 4;
if (xfer->tx_buf != NULL)
spi100k_write_data(spi->master,word_len, *tx);
if (xfer->rx_buf != NULL)
--
1.8.1.2
next prev parent reply other threads:[~2013-11-28 4:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-28 4:27 [PATCH 0/4] spi: omap-100k: Style Fixes Thomas Behan
[not found] ` <1385612844-22482-1-git-send-email-thomas.behan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-11-28 4:27 ` [PATCH 1/4] spi: omap-100k: Fixed spacing on while loops Thomas Behan
2013-11-28 4:27 ` Thomas Behan [this message]
2013-11-28 4:27 ` [PATCH 3/4] spi: omap-100k: Fixed spacing on commas Thomas Behan
2013-11-28 4:27 ` [PATCH 4/4] spi: omap-100k: Fixed style of sizeof operators Thomas Behan
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=1385612844-22482-3-git-send-email-thomas.behan@gmail.com \
--to=thomas.behan@gmail.com \
--cc=broonie@linaro.org \
--cc=linux-kernel@vger.kernel.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).