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)
commit351cfe0fe810588bb1cc75fb4f1c1d1d01914b82
tree26c9b8caf57b6d3c0148f05ad3251d8c8baa047f
parent1aeef303b5d9e243c41d5b80f8bb059366514a10
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