aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp/pnpacpi
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2007-10-17 02:31:12 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 11:43:04 -0400
commit348366b963e4e1462c8354827a9cb910aa865bf2 (patch)
treef5e668dbeef6c88aeb14cdb3e0a856ce8c45e7fb /drivers/pnp/pnpacpi
parent36405e96c8090fc8fc05d56755645a5821c98992 (diff)
PNP: add debug message for adding new device
Add PNP debug message when adding a device, remove similar PNPACPI message with less information. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Cc: Adam Belay <ambx1@neo.rr.com> Cc: Len Brown <lenb@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pnp/pnpacpi')
-rw-r--r--drivers/pnp/pnpacpi/core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pnp/pnpacpi/core.c b/drivers/pnp/pnpacpi/core.c
index e6a2a9fc7f0a..dada89906314 100644
--- a/drivers/pnp/pnpacpi/core.c
+++ b/drivers/pnp/pnpacpi/core.c
@@ -171,7 +171,6 @@ static int __init pnpacpi_add_device(struct acpi_device *device)
171 is_exclusive_device(device)) 171 is_exclusive_device(device))
172 return 0; 172 return 0;
173 173
174 pnp_dbg("ACPI device : hid %s", acpi_device_hid(device));
175 dev = kzalloc(sizeof(struct pnp_dev), GFP_KERNEL); 174 dev = kzalloc(sizeof(struct pnp_dev), GFP_KERNEL);
176 if (!dev) { 175 if (!dev) {
177 pnp_err("Out of memory"); 176 pnp_err("Out of memory");