Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: vme: fix bare use of 'unsigned'

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>

authored by

Clifton Barnes and committed by
Greg Kroah-Hartman
148e45dc b9f84637

+3 -2
+3 -2
drivers/staging/vme/devices/vme_pio2_gpio.c
··· 97 97 } 98 98 99 99 /* Directionality configured at board build - send appropriate response */ 100 - static int pio2_gpio_dir_in(struct gpio_chip *chip, unsigned offset) 100 + static int pio2_gpio_dir_in(struct gpio_chip *chip, unsigned int offset) 101 101 { 102 102 int data; 103 103 struct pio2_card *card = gpio_to_pio2_card(chip); ··· 116 116 } 117 117 118 118 /* Directionality configured at board build - send appropriate response */ 119 - static int pio2_gpio_dir_out(struct gpio_chip *chip, unsigned offset, int value) 119 + static int pio2_gpio_dir_out(struct gpio_chip *chip, 120 + unsigned int offset, int value) 120 121 { 121 122 int data; 122 123 struct pio2_card *card = gpio_to_pio2_card(chip);