]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
gpio: Use unsigned int for interrupt numbers
authorThierry Reding <treding@nvidia.com>
Mon, 3 Apr 2017 16:05:21 +0000 (18:05 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 13 Apr 2017 12:16:23 +0000 (14:16 +0200)
commit6f79309acc32b025064a496dbfcd4c70c557294e
treebd1102f07ca369e5102678108417e4540bee9229
parentd69843e416d315123aea4831c3a7dfb299526681
gpio: Use unsigned int for interrupt numbers

Interrupt numbers are never negative, zero serves as the special invalid
value.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c
include/linux/gpio/driver.h