Skip to contentSkip to conversation

gpiolib: quiet gpiochip_add boot message noise

PATCH In review H Hartley Sweeten 2 participants 3 messages Apr 14, 2012 – May 11, 2012 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Cc Grant Likely <[email protected]>
Cc Linus Walleij <[email protected]>

---

drivers/gpio/gpiolib.c +1 -1
index 566d012..f7972d2 100644
@@ -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");
 
#1 lore raw
Quoted 7 lines · H Hartley Sweeten

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.

Cc Grant Likely <[email protected]>
Cc Linus Walleij <[email protected]>

No s-o-b?

g.

#2 lore raw
Quoted 10 lines · Grant Likely
Quoted 7 lines · H Hartley Sweeten

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.

Cc Grant Likely <[email protected]>
Cc Linus Walleij <[email protected]>

No s-o-b?

DOH! I will repost it shortly.

Regards,
Hartley