Message ID | 002901cfc659$3b9a9850$b2cfc8f0$%han@samsung.com (mailing list archive) |
---|---|
State | Accepted |
Commit | cdc67fa9415ff37d9970729c7a8d5c8911c1d204 |
Headers | show |
On Tue, Sep 2, 2014 at 6:54 AM, Jingoo Han <jg1.han@samsung.com> wrote: > Fix the following checkpatch warnings. > > WARNING: Missing a blank line after declarations > > Signed-off-by: Jingoo Han <jg1.han@samsung.com> > --- > drivers/spi/spi-xtensa-xtfpga.c | 1 + > 1 file changed, 1 insertion(+) Acked-by: Max Filippov <jcmvbkbc@gmail.com>
On Tue, Sep 02, 2014 at 11:54:37AM +0900, Jingoo Han wrote: > Fix the following checkpatch warnings. > > WARNING: Missing a blank line after declarations Applied, thanks.
diff --git a/drivers/spi/spi-xtensa-xtfpga.c b/drivers/spi/spi-xtensa-xtfpga.c index 41e158187f9d..0dc5df5233a9 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);
Fix the following checkpatch warnings. WARNING: Missing a blank line after declarations Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/spi/spi-xtensa-xtfpga.c | 1 + 1 file changed, 1 insertion(+)