Skip to contentSkip to conversation

OMAP2/4: PM: Boot message is not an error/info, and not helpful, remove it

PATCH New Santosh Shilimkar 3 participants 4 messages May 30, 2011

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 OMAP2/4: PM: Boot message is not an error/info, and not helpful, remove it

The commit '99aa18278e' removed the boot messege for OMAP3. Do the same for OMAP2 and OMAP4 since it's really just noise in the boot log and PM init is always called.

---
Generated against mainline v3.0-rc1.

 arch/arm/mach-omap2/pm24xx.c |    1 -
 arch/arm/mach-omap2/pm44xx.c |    2 --
 2 files changed, 0 insertions(+), 3 deletions(-)
arch/arm/mach-omap2/pm24xx.c +0 -1
index df3ded6..5970759 100644
@@ -442,7 +442,6 @@ static int __init omap2_pm_init(void)
 	if (!cpu_is_omap24xx())
 		return -ENODEV;
 
-	printk(KERN_INFO "Power Management for OMAP2 initializing\n");
 	l = omap2_prm_read_mod_reg(OCP_MOD, OMAP2_PRCM_REVISION_OFFSET);
 	printk(KERN_INFO "PRCM revision %d.%d\n", (l >> 4) & 0x0f, l & 0x0f);
 
arch/arm/mach-omap2/pm44xx.c +0 -2
index 59a870b..a6259d6 100644
@@ -103,8 +103,6 @@ static int __init omap4_pm_init(void)
 	if (!cpu_is_omap44xx())
 		return -ENODEV;
 
-	pr_err("Power Management for TI OMAP4.\n");
-
 	ret = pwrdm_for_each(pwrdms_setup, NULL);
 	if (ret) {
 		pr_err("Failed to setup powerdomains\n");
Signature · 1 line
1.6.0.4
#1 lore raw

PATCH 1/1 OMAP2/4: PM: Boot message is not an error/info, and not helpful, remove it

Hello.

Quoted 1 line · Santosh Shilimkar

The commit '99aa18278e' removed the boot messege for OMAP3. Do the same

Please specify that commit's summary in parens -- for the human readers.
Oh, and you don't need quotes around commit ID too.

Quoted 5 lines

for OMAP2 and OMAP4 since it's really just noise in the boot log and PM init is always called.

WBR, Sergei

#2 lore raw

PATCH 1/1 OMAP2/4: PM: Boot message is not an error/info, and not helpful, remove it

Quoted 9 lines · Sergei Shtylyov

Hello.

Quoted 1 line · Santosh Shilimkar

The commit '99aa18278e' removed the boot messege for OMAP3. Do the same

Please specify that commit's summary in parens -- for the human readers. Oh, and you don't need quotes around commit ID too.

Yes I missed that. Updated patch below.

Regards
Santosh

From 53e986a2a43dc204146af99c2d7a906dba781ea0 Mon Sep 17 00:00:00 2001
From: Santosh Shilimkar <[email protected]>
Date: Mon, 30 May 2011 15:52:01 +0530
Subject: [PATCH] OMAP2/4: PM: Boot message is not an error/info, and not helpful, remove it

The commit 99aa18278e (OMAP3: PM: Boot message is not an error, and not helpful, remove it), removed the boot message for OMAP3. Do the same for OMAP2 and OMAP4 since it's really just noise in the boot log and PM init is always called.

---
  arch/arm/mach-omap2/pm24xx.c |    1 -
  arch/arm/mach-omap2/pm44xx.c |    2 --
  2 files changed, 0 insertions(+), 3 deletions(-)
arch/arm/mach-omap2/pm24xx.c +0 -1
index df3ded6..5970759 100644
@@ -442,7 +442,6 @@ static int __init omap2_pm_init(void)
  	if (!cpu_is_omap24xx())
  		return -ENODEV;
 
-	printk(KERN_INFO "Power Management for OMAP2 initializing\n");
  	l = omap2_prm_read_mod_reg(OCP_MOD, OMAP2_PRCM_REVISION_OFFSET);
  	printk(KERN_INFO "PRCM revision %d.%d\n", (l >> 4) & 0x0f, l & 0x0f);
 
arch/arm/mach-omap2/pm44xx.c +0 -2
index 59a870b..a6259d6 100644
@@ -103,8 +103,6 @@ static int __init omap4_pm_init(void)
  	if (!cpu_is_omap44xx())
  		return -ENODEV;
 
-	pr_err("Power Management for TI OMAP4.\n");
-
  	ret = pwrdm_for_each(pwrdms_setup, NULL);
  	if (ret) {
  		pr_err("Failed to setup powerdomains\n");
Signature · 1 line
1.6.0.4
#3 lore raw

PATCH 1/1 OMAP2/4: PM: Boot message is not an error/info, and not helpful, remove it

Quoted 22 lines · Santosh Shilimkar
Quoted 10 lines · Sergei Shtylyov

Hello.

Quoted 1 line · Santosh Shilimkar

The commit '99aa18278e' removed the boot messege for OMAP3. Do the same

Please specify that commit's summary in parens -- for the human readers. Oh, and you don't need quotes around commit ID too.

Yes I missed that. Updated patch below.

Regards
Santosh

From 53e986a2a43dc204146af99c2d7a906dba781ea0 Mon Sep 17 00:00:00 2001
From: Santosh Shilimkar <[email protected]>
Date: Mon, 30 May 2011 15:52:01 +0530
Subject: [PATCH] OMAP2/4: PM: Boot message is not an error/info, and not helpful, remove it

Quoted 7 lines

The commit 99aa18278e (OMAP3: PM: Boot message is not an error, and not helpful, remove it), removed the boot message for OMAP3. Do the same for OMAP2 and OMAP4 since it's really just noise in the boot log and PM init is always called.

Regards,
Nishanth Menon

Quoted 38 lines

---
?arch/arm/mach-omap2/pm24xx.c | ? ?1 -
?arch/arm/mach-omap2/pm44xx.c | ? ?2 --
?2 files changed, 0 insertions(+), 3 deletions(-)

arch/arm/mach-omap2/pm24xx.c +0 -1
index df3ded6..5970759 100644
@@ -442,7 +442,6 @@ static int __init omap2_pm_init(void)
 ? ? ? ?if (!cpu_is_omap24xx())
 ? ? ? ? ? ? ? ?return -ENODEV;
 
- ? ? ? printk(KERN_INFO "Power Management for OMAP2 initializing\n");
 ? ? ? ?l = omap2_prm_read_mod_reg(OCP_MOD, OMAP2_PRCM_REVISION_OFFSET);
 ? ? ? ?printk(KERN_INFO "PRCM revision %d.%d\n", (l >> 4) & 0x0f, l & 0x0f);
 
arch/arm/mach-omap2/pm44xx.c +0 -3
index 59a870b..a6259d6 100644
@@ -103,8 +103,6 @@ static int __init omap4_pm_init(void)
 ? ? ? ?if (!cpu_is_omap44xx())
 ? ? ? ? ? ? ? ?return -ENODEV;
 
- ? ? ? pr_err("Power Management for TI OMAP4.\n");
-
 ? ? ? ?ret = pwrdm_for_each(pwrdms_setup, NULL);
 ? ? ? ?if (ret) {
 ? ? ? ? ? ? ? ?pr_err("Failed to setup powerdomains\n");
--

1.6.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo at vger.kernel.org
More majordomo info at ?http://vger.kernel.org/majordomo-info.html