Skip to content

Commit

Permalink
staging: vme: fix bare use of 'unsigned'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Clifton Barnes authored and Greg Kroah-Hartman committed Apr 4, 2016
1 parent b9f8463 commit 148e45d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/staging/vme/devices/vme_pio2_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 148e45d

Please sign in to comment.