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>
This commit is contained in:
parent
336cdba09a
commit
33d58949ad
@ -88,7 +88,7 @@ struct pinctrl_dev *get_pinctrl_dev_from_dev(struct device *dev,
|
|||||||
return found ? pctldev : NULL;
|
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;
|
struct pin_desc *pindesc;
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
@ -65,7 +65,7 @@ struct pin_desc {
|
|||||||
|
|
||||||
struct pinctrl_dev *get_pinctrl_dev_from_dev(struct device *dev,
|
struct pinctrl_dev *get_pinctrl_dev_from_dev(struct device *dev,
|
||||||
const char *dev_name);
|
const char *dev_name);
|
||||||
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);
|
||||||
int pinctrl_get_device_gpio_range(unsigned gpio,
|
int pinctrl_get_device_gpio_range(unsigned gpio,
|
||||||
struct pinctrl_dev **outdev,
|
struct pinctrl_dev **outdev,
|
||||||
struct pinctrl_gpio_range **outrange);
|
struct pinctrl_gpio_range **outrange);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user