]> git.baikalelectronics.ru Git - kernel.git/commit
gpiolib: of: Update debug messages for of_get_named_gpiod_flags
authorTushar Behera <tushar.b@samsung.com>
Fri, 4 Jul 2014 09:52:09 +0000 (15:22 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 9 Jul 2014 10:22:58 +0000 (12:22 +0200)
commit5e1594bf83161f5c6fd22f93aa2330aea6185c45
treeff4e587f16e3674755302aa7e79e6bd0eb63006b
parent6dd96075f8dec89e24a6b0d780ca7d4437b58eca
gpiolib: of: Update debug messages for of_get_named_gpiod_flags

Following is the debug output (only a few examples) before and after
the patch.

$ dmesg | grep of_get_named_gpiod_flags

Before:
of_get_named_gpiod_flags: can't parse gpios property
 of node '/mmc@12220000[0]'
of_get_named_gpiod_flags exited with status 0

After:
of_get_named_gpiod_flags: can't parse 'wp-gpios' property
 of node '/mmc@12220000[0]'
of_get_named_gpiod_flags: parsed 'gpios' property of node
 '/gpio-keys/power[0]' - status (0)

Signed-off-by: Tushar Behera <tushar.b@samsung.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-of.c