Commit 6e89217c authored by Sankalp Negi's avatar Sankalp Negi Committed by Greg Kroah-Hartman

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: default avatarSankalp Negi <sankalpnegi2310@gmail.com>
Reviewed-by: default avatarNeilBrown <neil@brown.name>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6781e751
...@@ -140,7 +140,7 @@ static int mt7621_spi_prepare(struct spi_device *spi, unsigned int speed) ...@@ -140,7 +140,7 @@ static int mt7621_spi_prepare(struct spi_device *spi, unsigned int speed)
reg |= MT7621_LSB_FIRST; reg |= MT7621_LSB_FIRST;
reg &= ~(MT7621_CPHA | MT7621_CPOL); reg &= ~(MT7621_CPHA | MT7621_CPOL);
switch(spi->mode & (SPI_CPOL | SPI_CPHA)) { switch (spi->mode & (SPI_CPOL | SPI_CPHA)) {
case SPI_MODE_0: case SPI_MODE_0:
break; break;
case SPI_MODE_1: case SPI_MODE_1:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment