Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: