diff options
author | Marek Belisko <marek.belisko@open-nandra.com> | 2011-10-31 16:27:52 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-01-03 03:10:00 -0500 |
commit | 33d58949adee5086478e140751e4a7263bd7e207 (patch) | |
tree | d455c04d00fc59f4ecce9e88b99b5d25f683431b /drivers/pinctrl | |
parent | 336cdba09a5df706402628fb20b7660d186aff6c (diff) |
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')
-rw-r--r-- | drivers/pinctrl/core.c | 2 | ||||
-rw-r--r-- | drivers/pinctrl/core.h | 2 |
2 files changed, 2 insertions, 2 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, | |||
88 | return found ? pctldev : NULL; | 88 | return found ? pctldev : NULL; |
89 | } | 89 | } |
90 | 90 | ||
91 | struct pin_desc *pin_desc_get(struct pinctrl_dev *pctldev, int pin) | 91 | struct pin_desc *pin_desc_get(struct pinctrl_dev *pctldev, unsigned int pin) |
92 | { | 92 | { |
93 | struct pin_desc *pindesc; | 93 | struct pin_desc *pindesc; |
94 | unsigned long flags; | 94 | unsigned long flags; |
diff --git a/drivers/pinctrl/core.h b/drivers/pinctrl/core.h index dcc6d687b653..74dee439dcf0 100644 --- a/drivers/pinctrl/core.h +++ b/drivers/pinctrl/core.h | |||
@@ -65,7 +65,7 @@ struct pin_desc { | |||
65 | 65 | ||
66 | struct pinctrl_dev *get_pinctrl_dev_from_dev(struct device *dev, | 66 | struct pinctrl_dev *get_pinctrl_dev_from_dev(struct device *dev, |
67 | const char *dev_name); | 67 | const char *dev_name); |
68 | struct pin_desc *pin_desc_get(struct pinctrl_dev *pctldev, int pin); | 68 | struct pin_desc *pin_desc_get(struct pinctrl_dev *pctldev, unsigned int pin); |
69 | int pinctrl_get_device_gpio_range(unsigned gpio, | 69 | int pinctrl_get_device_gpio_range(unsigned gpio, |
70 | struct pinctrl_dev **outdev, | 70 | struct pinctrl_dev **outdev, |
71 | struct pinctrl_gpio_range **outrange); | 71 | struct pinctrl_gpio_range **outrange); |