aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib-of.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpiolib-of.c')
-rw-r--r--drivers/gpio/gpiolib-of.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c
index d542a141811a..25b1dbe8921d 100644
--- a/drivers/gpio/gpiolib-of.c
+++ b/drivers/gpio/gpiolib-of.c
@@ -250,7 +250,7 @@ static void of_gpiochip_add_pin_range(struct gpio_chip *chip)
250 * on the same GPIO chip. 250 * on the same GPIO chip.
251 */ 251 */
252 ret = gpiochip_add_pin_range(chip, 252 ret = gpiochip_add_pin_range(chip,
253 pinctrl_dev_get_name(pctldev), 253 pinctrl_dev_get_devname(pctldev),
254 0, /* offset in gpiochip */ 254 0, /* offset in gpiochip */
255 pinspec.args[0], 255 pinspec.args[0],
256 pinspec.args[1]); 256 pinspec.args[1]);