projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f3d9f3
)
spi: spi-fsl-lpspi: Fix indentation and open brace should be on the previous line
author
Aishwarya R
<aishwaryarj100@gmail.com>
Tue, 7 Apr 2020 12:55:57 +0000
(18:25 +0530)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-fsl-lpspi.c
b/drivers/spi/spi-fsl-lpspi.c
index
8b41b70
..
511211b
100644
(file)
--- a/
drivers/spi/spi-fsl-lpspi.c
+++ b/
drivers/spi/spi-fsl-lpspi.c
@@
-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;