summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/core.c
diff options
context:
space:
mode:
authorMarek Belisko <marek.belisko@open-nandra.com>2011-10-31 21:27:52 +0100
committerLinus Walleij <linus.walleij@linaro.org>2012-01-03 09:10:00 +0100
commit33d58949adee5086478e140751e4a7263bd7e207 (patch)
treed455c04d00fc59f4ecce9e88b99b5d25f683431b /drivers/pinctrl/core.c
parent336cdba09a5df706402628fb20b7660d186aff6c (diff)
downloadlinux-33d58949adee5086478e140751e4a7263bd7e207.tar.gz
linux-33d58949adee5086478e140751e4a7263bd7e207.tar.bz2
linux-33d58949adee5086478e140751e4a7263bd7e207.zip
pinctrl: unify pin type from signed to unsigned
We want singned pins to mean "invalid" only on the outside of the subsystem. Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/core.c')
-rw-r--r--drivers/pinctrl/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c
index 9970590006d1..678216652bc0 100644
--- a/drivers/pinctrl/core.c
+++ b/drivers/pinctrl/core.c
@@ -88,7 +88,7 @@ struct pinctrl_dev *get_pinctrl_dev_from_dev(struct device *dev,
return found ? pctldev : NULL;
}
-struct pin_desc *pin_desc_get(struct pinctrl_dev *pctldev, int pin)
+struct pin_desc *pin_desc_get(struct pinctrl_dev *pctldev, unsigned int pin)
{
struct pin_desc *pindesc;
unsigned long flags;