Commit 5142a14e authored by Roger H. Newell's avatar Roger H. Newell Committed by Greg Kroah-Hartman

staging: wilc1000: Whitespaces removed from function call

This patch corrects errors generated by checkpatch.pl by
removing whitespace between parameters passed to dev_err()
Signed-off-by: default avatarRoger H. Newell <newell.roger@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9eab9a8f
...@@ -514,7 +514,7 @@ static int spi_cmd_complete(struct wilc *wilc, u8 cmd, u32 adr, u8 *b, u32 sz, ...@@ -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[0] = rb[rix++];
crc[1] = rb[rix++]; crc[1] = rb[rix++];
} else { } else {
dev_err(&spi->dev,"buffer overrun when reading crc.\n"); dev_err(&spi->dev, "buffer overrun when reading crc.\n");
result = N_FAIL; result = N_FAIL;
return result; return result;
} }
...@@ -680,7 +680,7 @@ static int spi_data_write(struct wilc *wilc, u8 *b, u32 sz) ...@@ -680,7 +680,7 @@ static int spi_data_write(struct wilc *wilc, u8 *b, u32 sz)
**/ **/
if (!g_spi.crc_off) { if (!g_spi.crc_off) {
if (wilc_spi_tx(wilc, crc, 2)) { 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; result = N_FAIL;
break; break;
} }
...@@ -1074,7 +1074,7 @@ static int wilc_spi_clear_int_ext(struct wilc *wilc, u32 val) ...@@ -1074,7 +1074,7 @@ static int wilc_spi_clear_int_ext(struct wilc *wilc, u32 val)
ret = wilc_spi_write_reg(wilc, ret = wilc_spi_write_reg(wilc,
WILC_VMM_CORE_CTL, 1); WILC_VMM_CORE_CTL, 1);
if (!ret) { 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_; goto _fail_;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment