]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
PCI: pciehp: Drop suspend/resume ENTRY messages
authorPaul Bolle <pebolle@tiscali.nl>
Thu, 31 Jan 2013 18:35:10 +0000 (19:35 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 1 Feb 2013 22:56:05 +0000 (15:56 -0700)
In each suspend and resume cycle my laptop prints these messages at
KERN_INFO level:
    pciehp 0000:00:1c.1:pcie04: pciehp_suspend ENTRY
    pciehp 0000:00:1c.0:pcie04: pciehp_suspend ENTRY

and
    pciehp 0000:00:1c.0:pcie04: pciehp_resume ENTRY
    pciehp 0000:00:1c.1:pcie04: pciehp_resume ENTRY

Drop these messages, that were probably used to debug the suspend and
resume code, but now serve no purpose.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/pciehp_core.c

index 916bf4f53abadc16d9205ac41dc9e3edc6f839ec..874a3baf1db0da5a80247b666696454c3dbba047 100644 (file)
@@ -294,7 +294,6 @@ static void pciehp_remove(struct pcie_device *dev)
 #ifdef CONFIG_PM
 static int pciehp_suspend (struct pcie_device *dev)
 {
-       dev_info(&dev->device, "%s ENTRY\n", __func__);
        return 0;
 }
 
@@ -304,7 +303,6 @@ static int pciehp_resume (struct pcie_device *dev)
        struct slot *slot;
        u8 status;
 
-       dev_info(&dev->device, "%s ENTRY\n", __func__);
        ctrl = get_service_data(dev);
 
        /* reinitialize the chipset's event detection logic */