Skip to contentSkip to conversation

spi: spi-fsl-lpspi: Fix indentation and open brace should be on the previous line

PATCH New Aishwarya R 1 participant 1 message Apr 7, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi: spi-fsl-lpspi: Fix indentation and open brace should be on the previous line

Resolved open brace { should be on the previous line checkpatch error and fix the indentation

---
 drivers/spi/spi-fsl-lpspi.c | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
drivers/spi/spi-fsl-lpspi.c +7 -8
index 8b41b70f6f5c..511211b82430 100644
@@ -186,14 +186,13 @@ static bool fsl_lpspi_can_dma(struct spi_controller *controller,
 
 	bytes_per_word = fsl_lpspi_bytes_per_word(transfer->bits_per_word);
 
-	switch (bytes_per_word)
-	{
-		case 1:
-		case 2:
-		case 4:
-			break;
-		default:
-			return false;
+	switch (bytes_per_word) {
+	case 1:
+	case 2:
+	case 4:
+		break;
+	default:
+		return false;
 	}
 
 	return true;

--
2.17.1