]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: refer to gpio device in prints and debugfs
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 20 Oct 2015 09:31:54 +0000 (11:31 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 9 Feb 2016 10:09:30 +0000 (11:09 +0100)
commita33de9be02d86a243f2951df0d491c28d33f509b
tree35f44623a855c33a483bb8eb4edabd13d2d1526f
parentfe5a97fa12cac357d368a82b8b64829f4ba32162
gpio: refer to gpio device in prints and debugfs

We use the new struct device inside gpio_chip to related debug
prints and warnings, and we also add it to the debugfs dump.

Cc: Johan Hovold <johan@kernel.org>
Cc: Michael Welling <mwelling@ieee.org>
Cc: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c
drivers/gpio/gpiolib.h