summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-09-02 11:54:37 +0900
committerMark Brown <broonie@kernel.org>2014-09-02 11:47:12 +0100
commitcdc67fa9415ff37d9970729c7a8d5c8911c1d204 (patch)
treeba2fdf134054c4341d1640953401fbe2f44bd9c7 /drivers/spi
parent175a3edcfdc4f25c53f265227c4e810ab2de80b5 (diff)
downloadop-kernel-dev-cdc67fa9415ff37d9970729c7a8d5c8911c1d204.zip
op-kernel-dev-cdc67fa9415ff37d9970729c7a8d5c8911c1d204.tar.gz
spi: xtensa-xtfpga: Fix checkpatch issue
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-xtensa-xtfpga.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-xtensa-xtfpga.c b/drivers/spi/spi-xtensa-xtfpga.c
index 41e1581..0dc5df5 100644
--- 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);
OpenPOWER on IntegriCloud