staging: ks7010: fix some style issues about long lines

This commit just fixes some checkpatch reported issues about
lines longer than 80 characters.

A new blank line has been added also to improve readability.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sergio Paracuellos 2018-04-03 17:13:02 +02:00 committed by Greg Kroah-Hartman
parent 67082c2203
commit bd6dad98f6
1 changed files with 5 additions and 2 deletions

View File

@ -665,10 +665,12 @@ static int ks7010_copy_firmware(struct ks_wlan_private *priv,
}
if (size == 0)
break;
memcpy(rom_buf, fw_entry->data + n, size);
offset = n;
ret = ks7010_sdio_update_index(priv, KS7010_IRAM_ADDRESS + offset);
ret = ks7010_sdio_update_index(priv,
KS7010_IRAM_ADDRESS + offset);
if (ret)
goto free_rom_buf;
@ -676,7 +678,8 @@ static int ks7010_copy_firmware(struct ks_wlan_private *priv,
if (ret)
goto free_rom_buf;
ret = ks7010_sdio_data_compare(priv, DATA_WINDOW, rom_buf, size);
ret = ks7010_sdio_data_compare(priv,
DATA_WINDOW, rom_buf, size);
if (ret)
goto free_rom_buf;