From: H Hartley Sweeten Date: Fri, 11 May 2012 23:58:33 +0000 (-0700) Subject: gpiolib: quiet gpiochip_add boot message noise X-Git-Tag: v3.5-rc1~93^2~3 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ee1c1e7d6451204e71ae6d815bfa918c57450391;p=karo-tx-linux.git gpiolib: quiet gpiochip_add boot message noise 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 Signed-off-by: Grant Likely --- diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 38353c028fdd..e48b70c6ddf1 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -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");