diff options
author | Wang Dongsheng <dongsheng.wang@hxt-semitech.com> | 2018-02-27 00:12:13 -0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-03-02 08:45:41 +0100 |
commit | 9d5a1f2ca6618bffd79c834d3e090a086fe35e6a (patch) | |
tree | 91328e3804b8d4fc683b1e45b819449883e88c36 /drivers/gpio | |
parent | 8f6d3b01477e09fc3e53a4935eba095b2357306f (diff) |
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpiolib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index d66de67ef307..f220d844b607 100644 --- 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 failed\n", con_id); + dev_dbg(dev, "No GPIO consumer %s found\n", con_id); return desc; } |