mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
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:
parent
486707b737
commit
e3b445d778
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ struct gpio_chip {
|
||||||
*
|
*
|
||||||
* Number of cells used to form the GPIO specifier.
|
* Number of cells used to form the GPIO specifier.
|
||||||
*/
|
*/
|
||||||
int of_gpio_n_cells;
|
unsigned int of_gpio_n_cells;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @of_xlate:
|
* @of_xlate:
|
||||||
|
|
Loading…
Reference in a new issue