Message ID | 1447490600-12449-1-git-send-email-bamvor.zhangjian@linaro.org |
---|---|
State | Accepted |
Commit | ed37915cb1fde446bd52069d7a708301b7e7b607 |
Headers | show |
On Sat, Nov 14, 2015 at 9:43 AM, Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> wrote: > The commit f881bab038c9 ("gpio: keep the GPIO line names internal") > change the error to warning in gpiochip_set_desc_names. Update the > comment accordingly. > > Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 868ff15..d233d0f 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -271,7 +271,7 @@ static struct gpio_desc *gpio_name_to_desc(const char * const name) * Takes the names from gc->names and checks if they are all unique. If they * are, they are assigned to their gpio descriptors. * - * Returns -EEXIST if one of the names is already used for a different GPIO. + * Warning if one of the names is already used for a different GPIO. */ static int gpiochip_set_desc_names(struct gpio_chip *gc) {
The commit f881bab038c9 ("gpio: keep the GPIO line names internal") change the error to warning in gpiochip_set_desc_names. Update the comment accordingly. Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> --- drivers/gpio/gpiolib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html