[media] s5c73m3: Fix whitespace related warnings
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 30 Apr 2013 08:04:09 +0000 (05:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 13 Jun 2013 00:37:23 +0000 (21:37 -0300)
Silences the following type of warning:
WARNING: space prohibited before semicolon

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/s5c73m3/s5c73m3-spi.c

index 6f3a9c00fe6512092c0a4789671cc08144a54277..8079e26eb5e2f7c4c5dfec7b725e5b0d061cc33e 100644 (file)
@@ -73,7 +73,7 @@ int s5c73m3_spi_write(struct s5c73m3 *state, const void *addr,
 
        memset(padding, 0, sizeof(padding));
 
-       for (i = 0; i < count ; i++) {
+       for (i = 0; i < count; i++) {
                r = spi_xmit(spi_dev, (void *)addr + j, tx_size, SPI_DIR_TX);
                if (r < 0)
                        return r;
@@ -98,7 +98,7 @@ int s5c73m3_spi_read(struct s5c73m3 *state, void *addr,
        unsigned int i, j = 0;
        int r = 0;
 
-       for (i = 0; i < count ; i++) {
+       for (i = 0; i < count; i++) {
                r = spi_xmit(spi_dev, addr + j, tx_size, SPI_DIR_RX);
                if (r < 0)
                        return r;