OSDN Git Service

staging: wilc1000: Whitespaces removed from function call
authorRoger H. Newell <newell.roger@gmail.com>
Tue, 16 Feb 2016 12:54:56 +0000 (09:24 -0330)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 00:56:26 +0000 (16:56 -0800)
This patch corrects errors generated by checkpatch.pl by
removing whitespace between parameters passed to dev_err()

Signed-off-by: Roger H. Newell <newell.roger@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_spi.c

index 2928712..d03e03a 100644 (file)
@@ -514,7 +514,7 @@ static int spi_cmd_complete(struct wilc *wilc, u8 cmd, u32 adr, u8 *b, u32 sz,
                                        crc[0] = rb[rix++];
                                        crc[1] = rb[rix++];
                                } else {
-                                       dev_err(&spi->dev,"buffer overrun when reading crc.\n");
+                                       dev_err(&spi->dev, "buffer overrun when reading crc.\n");
                                        result = N_FAIL;
                                        return result;
                                }
@@ -680,7 +680,7 @@ static int spi_data_write(struct wilc *wilc, u8 *b, u32 sz)
                 **/
                if (!g_spi.crc_off) {
                        if (wilc_spi_tx(wilc, crc, 2)) {
-                               dev_err(&spi->dev,"Failed data block crc write, bus error...\n");
+                               dev_err(&spi->dev, "Failed data block crc write, bus error...\n");
                                result = N_FAIL;
                                break;
                        }
@@ -1074,7 +1074,7 @@ static int wilc_spi_clear_int_ext(struct wilc *wilc, u32 val)
                                ret = wilc_spi_write_reg(wilc,
                                                         WILC_VMM_CORE_CTL, 1);
                                if (!ret) {
-                                       dev_err(&spi->dev,"fail write reg vmm_core_ctl...\n");
+                                       dev_err(&spi->dev, "fail write reg vmm_core_ctl...\n");
                                        goto _fail_;
                                }
                        }