diff options
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpiolib-of.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c index 8389d4a0ec45..a71aecac451f 100644 --- a/drivers/gpio/gpiolib-of.c +++ b/drivers/gpio/gpiolib-of.c | |||
@@ -73,7 +73,7 @@ int of_get_named_gpio_flags(struct device_node *np, const char *propname, | |||
73 | &gg_data.gpiospec); | 73 | &gg_data.gpiospec); |
74 | if (ret) { | 74 | if (ret) { |
75 | pr_debug("%s: can't parse gpios property\n", __func__); | 75 | pr_debug("%s: can't parse gpios property\n", __func__); |
76 | return -EINVAL; | 76 | return ret; |
77 | } | 77 | } |
78 | 78 | ||
79 | gpiochip_find(&gg_data, of_gpiochip_find_and_xlate); | 79 | gpiochip_find(&gg_data, of_gpiochip_find_and_xlate); |