]> 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)
commit5b142e78f4708843974ce89d67546fb198117762
tree26c9b8caf57b6d3c0148f05ad3251d8c8baa047f
parent11d9b3165a41bf0103e6a7f508983ca334133e70
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