OSDN Git Service

gpio: Use unsigned int for of_gpio_n_cells
authorThierry Reding <treding@nvidia.com>
Mon, 24 Jul 2017 14:57:28 +0000 (16:57 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:01:13 +0000 (15:01 +0200)
commite3b445d77819b8fb41e3ceae9dbd49c8c8427c5d
treec60fc58771c5b554cefc6197cfc1c3e474585961
parent486707b7372be5978973993dc751ebe0db158343
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>
include/linux/gpio/driver.h