From: Sankalp Negi Date: Sat, 2 Jun 2018 18:37:30 +0000 (+0530) Subject: staging: mt7621-spi: Add a space before open paranthesis. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6e89217cdb28809a039dad9c5cb321d408ca2473;p=openwrt%2Fstaging%2Fblogic.git staging: mt7621-spi: Add a space before open paranthesis. The patch fixes following checkpatch.pl issue: ERROR : space required before the open parenthesis Signed-off-by: Sankalp Negi Reviewed-by: NeilBrown Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi-mt7621.c index be892836b9ea..e8cccb87a13f 100644 --- a/drivers/staging/mt7621-spi/spi-mt7621.c +++ b/drivers/staging/mt7621-spi/spi-mt7621.c @@ -140,7 +140,7 @@ static int mt7621_spi_prepare(struct spi_device *spi, unsigned int speed) reg |= MT7621_LSB_FIRST; reg &= ~(MT7621_CPHA | MT7621_CPOL); - switch(spi->mode & (SPI_CPOL | SPI_CPHA)) { + switch (spi->mode & (SPI_CPOL | SPI_CPHA)) { case SPI_MODE_0: break; case SPI_MODE_1: