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

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 <>
Signed-off-by: default avatarLinus Walleij <>
parent 8f6d3b01
...@@ -3689,7 +3689,7 @@ struct gpio_desc *__must_check gpiod_get_index(struct device *dev, ...@@ -3689,7 +3689,7 @@ struct gpio_desc *__must_check gpiod_get_index(struct device *dev,
} }
if (IS_ERR(desc)) { 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; return desc;
} }
Supports Markdown
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