]> git.baikalelectronics.ru Git - kernel.git/commit
gpiolib: change a warning to debug message when failing to get gpio
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Fri, 29 Nov 2013 13:47:34 +0000 (15:47 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 3 Dec 2013 12:10:48 +0000 (13:10 +0100)
commitac9c9c600867ab86af948e6b4d909ad0243b3dc0
tree26c9b8caf57b6d3c0148f05ad3251d8c8baa047f
parent99770cf7f33f2a2b3b5e12ea6fc3e226e93fa32c
gpiolib: change a warning to debug message when failing to get gpio

It's the drivers responsibility to react on failure to get
the gpio descriptors and not the frameworks. Since there are
some common peripherals that may or may not have certain
pins connected to gpio lines, depending on the platform,
printing the warning there may end up generating useless bug
reports.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c