fix checkpatch.pl warning about 'Prefer 'unsigned int' to bare use of 'unsigned''
Unified · Split
| @@ -97,7 +97,7 @@ static void pio2_gpio_set(struct gpio_chip *chip, · 96 unmodified lines | |||
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | /* Directionality configured at board build - send appropriate response */ | 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 | int data; | 102 | int data; |
| 103 | struct pio2_card *card = gpio_to_pio2_card(chip); | 103 | 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) · 12 unmodified lines | |||
| 116 | } | 116 | } |
| 117 | 117 | ||
| 118 | /* Directionality configured at board build - send appropriate response */ | 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 | int data; | 122 | int data; |
| 122 | struct pio2_card *card = gpio_to_pio2_card(chip); | 123 | struct pio2_card *card = gpio_to_pio2_card(chip); |