Commit 9d5a1f2c authored by Wang Dongsheng's avatar Wang Dongsheng Committed by Linus Walleij

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: default avatarWang Dongsheng <dongsheng.wang@hxt-semitech.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 8f6d3b01
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment