spi: spi-fsl-lpspi: Fix indentation and open brace should be on the previous line
authorAishwarya R <aishwaryarj100@gmail.com>
Tue, 7 Apr 2020 12:55:57 +0000 (18:25 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 14 Apr 2020 17:36:28 +0000 (18:36 +0100)
Resolved open brace { should be on the previous line checkpatch
error and fix the indentation

Signed-off-by: Aishwarya R <aishwaryarj100@gmail.com>
Link: https://lore.kernel.org/r/20200407125557.6520-1-aishwaryarj100@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-lpspi.c

index 8b41b70..511211b 100644 (file)
@@ -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;