gpiolib: unify pr_* messages format
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 5 Dec 2013 09:26:23 +0000 (11:26 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 9 Dec 2013 13:14:26 +0000 (14:14 +0100)
commit7589e59fc0be799fed069591b83d0e57f11058cc
tree4d6c401fe3ae711948bf24afe818b95a1c946e0a
parentad824783fb23bbc8295cffb6214b3b82d25f7d4a
gpiolib: unify pr_* messages format

This patch includes the following amendments:
 1) use "?" as a label when the last one is not defined in gpiod_*;
 2) whenever it's possible gpiod_* are used;
 3) print a function name, if it's already used in other messages.

Additionally it fixes an indentation in few places.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c