Skip to contentSkip to conversation

pnp: remove printk() with outdated version

PATCH In review Adrian Bunk 5 participants 6 messages May 19, 2008 Pnp support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pnp: remove printk() with outdated version

There's no point in printing some ancient version number forever.

---
acef517cfbe3cd741f8884311ef6fc2dfbeb1a4d diff --git a/drivers/pnp/core.c b/drivers/pnp/core.c index 20771b7..d924798 100644

drivers/pnp/core.c +0 -1
@@ -209,7 +209,6 @@ void __pnp_remove_device(struct pnp_dev *dev)
 
 static int __init pnp_init(void)
 {
-	printk(KERN_INFO "Linux Plug and Play Support v0.97 (c) Adam Belay\n");
 	return bus_register(&pnp_bus_type);
 }
 
#1 lore raw
Quoted 3 lines · Adrian Bunk

There's no point in printing some ancient version number forever.

Adam's the maintainer, so you really should ask him (cc'd). Personally, I agree that it isn't really useful anymore.

Quoted 15 lines

---
acef517cfbe3cd741f8884311ef6fc2dfbeb1a4d diff --git a/drivers/pnp/core.c b/drivers/pnp/core.c index 20771b7..d924798 100644

drivers/pnp/core.c +0 -1
@@ -209,7 +209,6 @@ void __pnp_remove_device(struct pnp_dev *dev)
 
 static int __init pnp_init(void)
 {
-	printk(KERN_INFO "Linux Plug and Play Support v0.97 (c) Adam Belay\n");
 	return bus_register(&pnp_bus_type);
 }
 
#2 lore raw
Quoted 7 lines · Bjorn Helgaas
Quoted 3 lines · Adrian Bunk

There's no point in printing some ancient version number forever.

Adam's the maintainer, so you really should ask him (cc'd). Personally, I agree that it isn't really useful anymore.

Ditto. Thanks.

Quoted 23 lines
Quoted 8 lines

---
acef517cfbe3cd741f8884311ef6fc2dfbeb1a4d diff --git a/drivers/pnp/core.c b/drivers/pnp/core.c index 20771b7..d924798 100644

drivers/pnp/core.c void __pnp_remove_device(struct pnp_dev *dev) · line 214

Quoted 7 lines
drivers/pnp/core.c +0 -1
@@ -209,7 +209,6 @@ void __pnp_remove_device(struct pnp_dev *dev)
 
 static int __init pnp_init(void)
 {
-	printk(KERN_INFO "Linux Plug and Play Support v0.97 (c) Adam Belay\n");
 	return bus_register(&pnp_bus_type);
 }
 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 1 line
~Randy
#3 lore raw
In reply to Bjorn Helgaas
Quoted 6 lines · Bjorn Helgaas
Quoted 3 lines · Adrian Bunk

There's no point in printing some ancient version number forever.

Adam's the maintainer, so you really should ask him (cc'd).

Sorry, I thought there was a patch pending listing you as the new maintainer, but that could be an error on my side.

Quoted 9 lines

Personally, I agree that it isn't really useful anymore.

Quoted 7 lines

---
acef517cfbe3cd741f8884311ef6fc2dfbeb1a4d diff --git a/drivers/pnp/core.c b/drivers/pnp/core.c index 20771b7..d924798 100644

drivers/pnp/core.c +0 -0
@@ -209,7 +209,6 @@ void __pnp_remove_device(struct pnp_dev *dev)
 
Quoted 5 lines

drivers/pnp/core.c void __pnp_remove_device(struct pnp_dev *dev) · line 213

Quoted 5 lines
drivers/pnp/core.c +0 -1
 static int __init pnp_init(void)
 {
-	printk(KERN_INFO "Linux Plug and Play Support v0.97 (c) Adam Belay\n");
 	return bus_register(&pnp_bus_type);
 }

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#4 lore raw
In reply to Bjorn Helgaas

Acked.

Thanks,
Adam

Quoting Bjorn Helgaas <[email protected]>:

Quoted 26 lines · Adrian Bunk
Quoted 3 lines

There's no point in printing some ancient version number forever.

Adam's the maintainer, so you really should ask him (cc'd). Personally, I agree that it isn't really useful anymore.

Quoted 15 lines

---
acef517cfbe3cd741f8884311ef6fc2dfbeb1a4d diff --git a/drivers/pnp/core.c b/drivers/pnp/core.c index 20771b7..d924798 100644

drivers/pnp/core.c +0 -1
@@ -209,7 +209,6 @@ void __pnp_remove_device(struct pnp_dev *dev)
 
 static int __init pnp_init(void)
 {
-	printk(KERN_INFO "Linux Plug and Play Support v0.97 (c) Adam Belay\n");
 	return bus_register(&pnp_bus_type);
 }
 
#5 lore raw
In reply to Adrian Bunk
Quoted 10 lines · Adrian Bunk

There's no point in printing some ancient version number forever.

---
acef517cfbe3cd741f8884311ef6fc2dfbeb1a4d diff --git a/drivers/pnp/core.c b/drivers/pnp/core.c index 20771b7..d924798 100644

drivers/pnp/core.c void __pnp_remove_device(struct pnp_dev *dev) · line 213

Quoted 6 lines
drivers/pnp/core.c +0 -1
@@ -209,7 +209,6 @@ void __pnp_remove_device(struct pnp_dev *dev)
 
 static int __init pnp_init(void)
 {
-	printk(KERN_INFO "Linux Plug and Play Support v0.97 (c) Adam Belay\n");
 	return bus_register(&pnp_bus_type);
 }

Acked-by; Rene Herman <[email protected]>

Rene.