]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c67432fbce5ad5ac62a457f9a08d8d88b910fb8
tree4d6c401fe3ae711948bf24afe818b95a1c946e0a
parent2d58b62c4a46bd53da2b9e0830ad3ade59e8c7eb
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