gpio: Use unsigned int for of_gpio_n_cells

The cell count for GPIO specifiers can never be negative, so make the
field unsigned.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Thierry Reding 2017-07-24 16:57:28 +02:00 committed by Linus Walleij
parent 486707b737
commit e3b445d778

View file

@ -193,7 +193,7 @@ struct gpio_chip {
*
* Number of cells used to form the GPIO specifier.
*/
int of_gpio_n_cells;
unsigned int of_gpio_n_cells;
/**
* @of_xlate: