mirror of
https://github.com/torvalds/linux.git
synced 2024-10-30 16:51:45 +00:00
PCI: fix -Wakpm warnings in pci_pm_init debug output
Checkpatch would have complained about this but neither Bjorn nor myself ran it prior to pushing. Fixup the issues Andrew pointed out. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
parent
cef354db0d
commit
ec84f1268f
@ -1270,8 +1270,8 @@ void pci_pm_init(struct pci_dev *dev)
|
||||
|
||||
if (dev->d1_support || dev->d2_support)
|
||||
dev_printk(KERN_DEBUG, &dev->dev, "supports%s%s\n",
|
||||
dev->d1_support ? " D1": "",
|
||||
dev->d2_support ? " D2": "");
|
||||
dev->d1_support ? " D1" : "",
|
||||
dev->d2_support ? " D2" : "");
|
||||
}
|
||||
|
||||
pmc &= PCI_PM_CAP_PME_MASK;
|
||||
|
Loading…
Reference in New Issue
Block a user