Commit 4c1e5ec5 authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman

staging: wilc1000: remove unnecessary comments to avoid line over 80 char issue

Fix "line over 80 characters" issue reported by checkpatch.pl script by
removing unnecessary comments.
Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d92a1fab
...@@ -405,7 +405,7 @@ static int sdio_write_reg(struct wilc *wilc, u32 addr, u32 data) ...@@ -405,7 +405,7 @@ static int sdio_write_reg(struct wilc *wilc, u32 addr, u32 data)
cmd.increment = 1; cmd.increment = 1;
cmd.count = 4; cmd.count = 4;
cmd.buffer = (u8 *)&data; cmd.buffer = (u8 *)&data;
cmd.block_size = g_sdio.block_size; /* johnny : prevent it from setting unexpected value */ cmd.block_size = g_sdio.block_size;
ret = wilc_sdio_cmd53(wilc, &cmd); ret = wilc_sdio_cmd53(wilc, &cmd);
if (ret) { if (ret) {
dev_err(&func->dev, dev_err(&func->dev,
...@@ -489,7 +489,7 @@ static int sdio_write(struct wilc *wilc, u32 addr, u8 *buf, u32 size) ...@@ -489,7 +489,7 @@ static int sdio_write(struct wilc *wilc, u32 addr, u8 *buf, u32 size)
cmd.count = nleft; cmd.count = nleft;
cmd.buffer = buf; cmd.buffer = buf;
cmd.block_size = block_size; /* johnny : prevent it from setting unexpected value */ cmd.block_size = block_size;
if (addr > 0) { if (addr > 0) {
if (!sdio_set_func0_csa_address(wilc, addr)) if (!sdio_set_func0_csa_address(wilc, addr))
...@@ -543,7 +543,7 @@ static int sdio_read_reg(struct wilc *wilc, u32 addr, u32 *data) ...@@ -543,7 +543,7 @@ static int sdio_read_reg(struct wilc *wilc, u32 addr, u32 *data)
cmd.count = 4; cmd.count = 4;
cmd.buffer = (u8 *)data; cmd.buffer = (u8 *)data;
cmd.block_size = g_sdio.block_size; /* johnny : prevent it from setting unexpected value */ cmd.block_size = g_sdio.block_size;
ret = wilc_sdio_cmd53(wilc, &cmd); ret = wilc_sdio_cmd53(wilc, &cmd);
if (ret) { if (ret) {
dev_err(&func->dev, dev_err(&func->dev,
...@@ -629,7 +629,7 @@ static int sdio_read(struct wilc *wilc, u32 addr, u8 *buf, u32 size) ...@@ -629,7 +629,7 @@ static int sdio_read(struct wilc *wilc, u32 addr, u8 *buf, u32 size)
cmd.count = nleft; cmd.count = nleft;
cmd.buffer = buf; cmd.buffer = buf;
cmd.block_size = block_size; /* johnny : prevent it from setting unexpected value */ cmd.block_size = block_size;
if (addr > 0) { if (addr > 0) {
if (!sdio_set_func0_csa_address(wilc, addr)) if (!sdio_set_func0_csa_address(wilc, addr))
......
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