diff options
author | Pali Rohár <pali@kernel.org> | 2022-07-25 13:56:11 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2022-07-28 15:17:45 +0200 |
commit | a1de1035b228f634241c80c60fcb39daae6116f9 (patch) | |
tree | 0b076c4368a8cdaeca6b14b5a049241ec2f4fd2e /drivers/gpio | |
parent | 319b62880cd21c0187081ef5c6b27d888bcbbbe7 (diff) | |
download | u-boot-a1de1035b228f634241c80c60fcb39daae6116f9.tar.gz u-boot-a1de1035b228f634241c80c60fcb39daae6116f9.tar.bz2 u-boot-a1de1035b228f634241c80c60fcb39daae6116f9.zip |
pinctrl: Add third argument label for pinctrl_gpio_request() function
This change allows to use pinctrl_gpio_request() function as a direct
pointer for dm_gpio_ops's .request callback.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-rcar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c index 76f47027a3..138801850d 100644 --- a/drivers/gpio/gpio-rcar.c +++ b/drivers/gpio/gpio-rcar.c @@ -133,7 +133,7 @@ static int rcar_gpio_get_function(struct udevice *dev, unsigned offset) static int rcar_gpio_request(struct udevice *dev, unsigned offset, const char *label) { - return pinctrl_gpio_request(dev, offset); + return pinctrl_gpio_request(dev, offset, label); } static int rcar_gpio_free(struct udevice *dev, unsigned offset) |