mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
gpio: mockup: change the type of 'offset' to unsigned int
This field can never be negative. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
This commit is contained in:
parent
d51ee07a8d
commit
83336668b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in a new issue