projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f6d3b0
)
gpiolib: friendly debug information for consumer
author
Wang Dongsheng
<dongsheng.wang@hxt-semitech.com>
Tue, 27 Feb 2018 08:12:13 +0000
(
00:12
-0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 2 Mar 2018 07:45:41 +0000
(08:45 +0100)
"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>
drivers/gpio/gpiolib.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpiolib.c
b/drivers/gpio/gpiolib.c
index d66de67ef307cef79a03fae9fb586fb3f55be0bf..f220d844b60778caa505e21f11f75122009531e3 100644
(file)
--- a/
drivers/gpio/gpiolib.c
+++ b/
drivers/gpio/gpiolib.c
@@
-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 faile
d\n", con_id);
+ dev_dbg(dev, "
No GPIO consumer %s foun
d\n", con_id);
return desc;
}