PCI/PME: Replace dev_printk(KERN_DEBUG) with dev_info()
authorFrederick Lawler <fred@fredlawl.com>
Tue, 7 May 2019 23:24:48 +0000 (18:24 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 9 May 2019 21:27:29 +0000 (16:27 -0500)
commit00ebf1348cb332941dab52948f29480592bfbe6a
tree38f1a97397c5bfcf11f102eaeccd1a79698c9ce3
parentd55791834570e79e9a1952f5c2e73f34af890fb3
PCI/PME: Replace dev_printk(KERN_DEBUG) with dev_info()

Replace dev_printk(KERN_DEBUG) with dev_info() or dev_err() to be more
consistent with other logging.

These could be converted to dev_dbg(), but that depends on
CONFIG_DYNAMIC_DEBUG and DEBUG, and we want most of these messages to
*always* be in the dmesg log.

Also, use dev_fmt() to add the service name.  Example output change:

  - pcieport 0000:80:10.0: Signaling PME with IRQ ...
  + pcieport 0000:80:10.0: PME: Signaling with IRQ ...

Link: https://lore.kernel.org/lkml/20190509141456.223614-3-helgaas@kernel.org
Signed-off-by: Frederick Lawler <fred@fredlawl.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
drivers/pci/pcie/pme.c