diff options
author | Chandra Annamaneni <chandra627@gmail.com> | 2019-10-29 02:16:36 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-30 10:38:49 +0100 |
commit | c4d362420d75aff10596f876e3e66458bfdb84b5 (patch) | |
tree | 7deb8b05d9b58ed4c9a01273aa12e9b554829e8f /drivers/staging/kpc2000 | |
parent | staging: KPC2000: kpc2000_spi.c: Fix style issues (missing blank line) (diff) | |
download | linux-dev-c4d362420d75aff10596f876e3e66458bfdb84b5.tar.xz linux-dev-c4d362420d75aff10596f876e3e66458bfdb84b5.zip |
staging: KPC2000: kpc2000_spi.c: Fix style issues (misaligned brace)
Resolved: ERROR: else should follow close brace '}'
Signed-off-by: Chandra Annamaneni <chandra627@gmail.com>
Link: https://lore.kernel.org/r/20191029091638.16101-2-chandra627@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/kpc2000')
-rw-r--r-- | drivers/staging/kpc2000/kpc2000_spi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/drivers/staging/kpc2000/kpc2000_spi.c index 5712a88c8788..929136cdc3e1 100644 --- a/drivers/staging/kpc2000/kpc2000_spi.c +++ b/drivers/staging/kpc2000/kpc2000_spi.c @@ -226,8 +226,7 @@ kp_spi_txrx_pio(struct spi_device *spidev, struct spi_transfer *transfer) kp_spi_write_reg(cs, KP_SPI_REG_TXDATA, val); processed++; } - } - else if (rx) { + } else if (rx) { for (i = 0 ; i < c ; i++) { char test = 0; |