From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758834Ab3K1E2n (ORCPT ); Wed, 27 Nov 2013 23:28:43 -0500 Received: from mail-ie0-f174.google.com ([209.85.223.174]:64815 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758803Ab3K1E2j (ORCPT ); Wed, 27 Nov 2013 23:28:39 -0500 From: Thomas Behan To: linux-spi@vger.kernel.org Cc: broonie@linaro.org, linux-kernel@vger.kernel.org, Thomas Behan Subject: [PATCH 2/4] spi: omap-100k: Fixed spacing on -= operators Date: Wed, 27 Nov 2013 23:27:22 -0500 Message-Id: <1385612844-22482-3-git-send-email-thomas.behan@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1385612844-22482-1-git-send-email-thomas.behan@gmail.com> References: <1385612844-22482-1-git-send-email-thomas.behan@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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