1
0
Fork 0

gpiolib: friendly debug information for consumer

"failed" maybe makes observer confuse when a consumer can not
lookup, so change to a friendly information.

Signed-off-by: Wang Dongsheng <dongsheng.wang@hxt-semitech.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
hifive-unleashed-5.1
Wang Dongsheng 2018-02-27 00:12:13 -08:00 committed by Linus Walleij
parent 8f6d3b0147
commit 9d5a1f2ca6
1 changed files with 1 additions and 1 deletions

View File

@ -3689,7 +3689,7 @@ struct gpio_desc *__must_check gpiod_get_index(struct device *dev,
}
if (IS_ERR(desc)) {
dev_dbg(dev, "lookup for GPIO %s failed\n", con_id);
dev_dbg(dev, "No GPIO consumer %s found\n", con_id);
return desc;
}