projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
175a3ed
)
spi: xtensa-xtfpga: Fix checkpatch issue
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 2 Sep 2014 02:54:37 +0000
(11:54 +0900)
committer
Mark Brown
<broonie@kernel.org>
Tue, 2 Sep 2014 10:47:12 +0000
(11:47 +0100)
Fix the following checkpatch warnings.
WARNING: Missing a blank line after declarations
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-xtensa-xtfpga.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-xtensa-xtfpga.c
b/drivers/spi/spi-xtensa-xtfpga.c
index 41e158187f9dd6876b66802c7c28123e2bfb5223..0dc5df5233a96f5b2004d837bc862fbcd626fede 100644
(file)
--- a/
drivers/spi/spi-xtensa-xtfpga.c
+++ b/
drivers/spi/spi-xtensa-xtfpga.c
@@
-46,6
+46,7
@@
static inline unsigned int xtfpga_spi_read32(const struct xtfpga_spi *spi,
static inline void xtfpga_spi_wait_busy(struct xtfpga_spi *xspi)
{
unsigned i;
+
for (i = 0; xtfpga_spi_read32(xspi, XTFPGA_SPI_BUSY) &&
i < BUSY_WAIT_US; ++i)
udelay(1);