Commit e3b445d7 authored by Thierry Reding's avatar Thierry Reding Committed by Linus Walleij

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: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 486707b7
......@@ -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:
......
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