]> Pileus Git - ~andy/linux/commitdiff
gpiolib: quiet gpiochip_add boot message noise
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 11 May 2012 23:58:33 +0000 (16:58 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 19 May 2012 04:12:50 +0000 (22:12 -0600)
The pr_info message in gpiochip_add gets displayed for every
gpiochip registered. When first bringing up a system this
information could be helpful but for normal use it's just a
bunch of noise. Change the message to a pr_debug.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpiolib.c

index 38353c028fdd07aff4218181f9bbf7e0bb06eca6..e48b70c6ddf11b767b75a86c864360a52832790a 100644 (file)
@@ -1093,7 +1093,7 @@ unlock:
        if (status)
                goto fail;
 
-       pr_info("gpiochip_add: registered GPIOs %d to %d on device: %s\n",
+       pr_debug("gpiochip_add: registered GPIOs %d to %d on device: %s\n",
                chip->base, chip->base + chip->ngpio - 1,
                chip->label ? : "generic");