staging: ks7010: replace unsigned char type with u8

Variable 'byte' in ks7010_upload_firmware function is declared
as unsigned char and is only being used to read hardware
registers which are expected in sdio_read_byteb function as u8.
Change 'byte' variable type to u8 which is preferred.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sergio Paracuellos 2018-05-13 20:35:38 +02:00 committed by Greg Kroah-Hartman
parent 449f9eefa1
commit 62a37b72ce
1 changed files with 1 additions and 1 deletions

View File

@ -752,7 +752,7 @@ static int ks7010_upload_firmware(struct ks_sdio_card *card)
struct ks_wlan_private *priv = card->priv;
struct sdio_func *func = ks7010_to_func(priv);
unsigned int n;
unsigned char byte = 0;
u8 byte = 0;
int ret;
const struct firmware *fw_entry = NULL;