staging: ks7010: change local variable type in ks7010_sdio_init_irqs
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 4 May 2018 04:16:14 +0000 (06:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2018 01:58:37 +0000 (18:58 -0700)
Local variable 'byte' in ks7010_sdio_init_irqs is declared as
unsigned char and can be declared as u8 which is preferred.
It is being used in calls to ks7010_sdio_writeb which is already
expected an u8.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c

index db954f148fd056a21f0d7f52637ef5dc552777ad..9085ed7524110db285ffae7e65ca76404d79607d 100644 (file)
@@ -904,7 +904,7 @@ irq_error:
 static void ks7010_sdio_init_irqs(struct sdio_func *func,
                                  struct ks_wlan_private *priv)
 {
-       unsigned char byte;
+       u8 byte;
        int ret;
 
        /*