Commit 83336668 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski

gpio: mockup: change the type of 'offset' to unsigned int

This field can never be negative.
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent d51ee07a
......@@ -60,7 +60,7 @@ struct gpio_mockup_chip {
struct gpio_mockup_dbgfs_private {
struct gpio_mockup_chip *chip;
struct gpio_desc *desc;
int offset;
unsigned int offset;
};
static int gpio_mockup_ranges[GPIO_MOCKUP_MAX_RANGES];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment