linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpiolib: quiet gpiochip_add boot message noise
@ 2012-04-14  0:38 H Hartley Sweeten
  2012-05-11 23:54 ` Grant Likely
  0 siblings, 1 reply; 5+ messages in thread
From: H Hartley Sweeten @ 2012-04-14  0:38 UTC (permalink / raw)
  To: Linux Kernel; +Cc: grant.likely, linus.walleij

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 <grant.likely@secretlab.ca>
Cc: Linus Walleij <linus.walleij@stericsson.com>

---

diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index 566d012..f7972d2 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");
 

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] gpiolib: quiet gpiochip_add boot message noise
  2012-04-14  0:38 [PATCH] gpiolib: quiet gpiochip_add boot message noise H Hartley Sweeten
@ 2012-05-11 23:54 ` Grant Likely
  2012-05-11 23:55   ` H Hartley Sweeten
  0 siblings, 1 reply; 5+ messages in thread
From: Grant Likely @ 2012-05-11 23:54 UTC (permalink / raw)
  To: H Hartley Sweeten, Linux Kernel; +Cc: linus.walleij

On Fri, 13 Apr 2012 17:38:34 -0700, H Hartley Sweeten <hartleys@visionengravers.com> wrote:
> 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 <grant.likely@secretlab.ca>
> Cc: Linus Walleij <linus.walleij@stericsson.com>

No s-o-b?

g.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [PATCH] gpiolib: quiet gpiochip_add boot message noise
  2012-05-11 23:54 ` Grant Likely
@ 2012-05-11 23:55   ` H Hartley Sweeten
  0 siblings, 0 replies; 5+ messages in thread
From: H Hartley Sweeten @ 2012-05-11 23:55 UTC (permalink / raw)
  To: Grant Likely, Linux Kernel; +Cc: linus.walleij

On Friday, May 11, 2012 4:54 PM, Grant Likely wrote:
> On Fri, 13 Apr 2012 17:38:34 -0700, H Hartley Sweeten <hartleys@visionengravers.com> wrote:
>> 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 <grant.likely@secretlab.ca>
>> Cc: Linus Walleij <linus.walleij@stericsson.com>
>
> No s-o-b?

DOH! I will repost it shortly.

Regards,
Hartley

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] gpiolib: quiet gpiochip_add boot message noise
  2012-05-11 23:58 H Hartley Sweeten
@ 2012-05-19  4:13 ` Grant Likely
  0 siblings, 0 replies; 5+ messages in thread
From: Grant Likely @ 2012-05-19  4:13 UTC (permalink / raw)
  To: H Hartley Sweeten, Linux Kernel; +Cc: linus.walleij

On Fri, 11 May 2012 16:58:33 -0700, H Hartley Sweeten <hartleys@visionengravers.com> wrote:
> 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>
> Cc: Grant Likely <grant.likely@secretlab.ca>
> Cc: Linus Walleij <linus.walleij@stericsson.com>

Applied, thanks.

g.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] gpiolib: quiet gpiochip_add boot message noise
@ 2012-05-11 23:58 H Hartley Sweeten
  2012-05-19  4:13 ` Grant Likely
  0 siblings, 1 reply; 5+ messages in thread
From: H Hartley Sweeten @ 2012-05-11 23:58 UTC (permalink / raw)
  To: Linux Kernel; +Cc: grant.likely, linus.walleij

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>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Linus Walleij <linus.walleij@stericsson.com>

---

diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index 566d012..f7972d2 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");
 

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-05-19  4:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-14  0:38 [PATCH] gpiolib: quiet gpiochip_add boot message noise H Hartley Sweeten
2012-05-11 23:54 ` Grant Likely
2012-05-11 23:55   ` H Hartley Sweeten
2012-05-11 23:58 H Hartley Sweeten
2012-05-19  4:13 ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).