gpiolib: Provide helper macros for logging of GPIO events
authorMark Brown <broonie@linaro.org>
Mon, 9 Sep 2013 09:33:49 +0000 (10:33 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 19 Sep 2013 12:48:40 +0000 (14:48 +0200)
Currently many but not all GPIO log messages log the GPIO number and the
formats vary. Ensure that this is done consistently by defining logging
helpers which take the GPIO descriptor.

The will help people pattern matching on logs and providing the number
makes the log messages that omitted it more useful.

Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found