[PATCH 1/8] PNP: fix debug formatting (cosmetic)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bjorn Helgaas
Date: Tuesday, August 19, 2008 - 3:53 pm

This patch just fixes indentation of a couple debug messages.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
---

 drivers/pnp/resource.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/drivers/pnp/resource.c b/drivers/pnp/resource.c
index 4cfe3a1..e0206da 100644
--- a/drivers/pnp/resource.c
+++ b/drivers/pnp/resource.c
@@ -294,7 +294,7 @@ static int pci_dev_uses_irq(struct pnp_dev *pnp, struct pci_dev *pci,
 	u8 progif;
 
 	if (pci->irq == irq) {
-		dev_dbg(&pnp->dev, "device %s using irq %d\n",
+		dev_dbg(&pnp->dev, "  device %s using irq %d\n",
 			pci_name(pci), irq);
 		return 1;
 	}
@@ -316,7 +316,7 @@ static int pci_dev_uses_irq(struct pnp_dev *pnp, struct pci_dev *pci,
 		if ((progif & 0x5) != 0x5)
 			if (pci_get_legacy_ide_irq(pci, 0) == irq ||
 			    pci_get_legacy_ide_irq(pci, 1) == irq) {
-				dev_dbg(&pnp->dev, "legacy IDE device %s "
+				dev_dbg(&pnp->dev, "  legacy IDE device %s "
 					"using irq %d\n", pci_name(pci), irq);
 				return 1;
 			}

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/8] PNP debugging rework, Bjorn Helgaas, (Tue Aug 19, 3:53 pm)
[PATCH 1/8] PNP: fix debug formatting (cosmetic), Bjorn Helgaas, (Tue Aug 19, 3:53 pm)
[PATCH 2/8] PNPACPI: use dev_printk when possible, Bjorn Helgaas, (Tue Aug 19, 3:53 pm)
[PATCH 5/8] PNP: remove some uses of DEBUG ifdef, Bjorn Helgaas, (Tue Aug 19, 3:53 pm)
[PATCH 7/8] PNP: convert to using pnp_dbg(), Bjorn Helgaas, (Tue Aug 19, 3:53 pm)
[PATCH 8/8] PNP: remove old CONFIG_PNP_DEBUG option, Bjorn Helgaas, (Tue Aug 19, 3:53 pm)
Re: [PATCH 0/8] PNP debugging rework, Andi Kleen, (Tue Aug 19, 7:54 pm)
Re: [PATCH 0/8] PNP debugging rework, Bjorn Helgaas, (Wed Aug 20, 7:57 am)