]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: vme: fix bare use of 'unsigned'
authorClifton Barnes <clifton.a.barnes@gmail.com>
Thu, 31 Mar 2016 22:53:14 +0000 (18:53 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Apr 2016 19:41:24 +0000 (12:41 -0700)
fix checkpatch.pl warning about 'Prefer 'unsigned int' to bare use of
'unsigned''

Signed-off-by: Clifton Barnes <clifton.a.barnes@gmail.com>
Acked-by: Martyn Welch <martyn@welchs.me.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vme/devices/vme_pio2_gpio.c

index df992c3cb5ce0e2f2a95538fcb7300d1be2fb92d..f52a9ed75871d2a799e05d244e066ad3536758d9 100644 (file)
@@ -97,7 +97,7 @@ static void pio2_gpio_set(struct gpio_chip *chip,
 }
 
 /* Directionality configured at board build - send appropriate response */
-static int pio2_gpio_dir_in(struct gpio_chip *chip, unsigned offset)
+static int pio2_gpio_dir_in(struct gpio_chip *chip, unsigned int offset)
 {
        int data;
        struct pio2_card *card = gpio_to_pio2_card(chip);
@@ -116,7 +116,8 @@ static int pio2_gpio_dir_in(struct gpio_chip *chip, unsigned offset)
 }
 
 /* Directionality configured at board build - send appropriate response */
-static int pio2_gpio_dir_out(struct gpio_chip *chip, unsigned offset, int value)
+static int pio2_gpio_dir_out(struct gpio_chip *chip,
+                            unsigned int offset, int value)
 {
        int data;
        struct pio2_card *card = gpio_to_pio2_card(chip);