PCI: pciehp: Log messages with pci_dev, not pcie_device
Log messages with pci_dev, not pcie_device. Factor out common message prefixes with dev_fmt(). Example output change: - pciehp 0000:00:06.0:pcie004: Slot(0) Powering on due to button press + pcieport 0000:00:06.0: pciehp: Slot(0) Powering on due to button press Link: https://lore.kernel.org/lkml/20190509141456.223614-8-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> Reviewed-by:
Andy Shevchenko <andy.shevchenko@gmail.com>
Showing
- drivers/pci/hotplug/pciehp.h 8 additions, 8 deletionsdrivers/pci/hotplug/pciehp.h
- drivers/pci/hotplug/pciehp_core.c 5 additions, 2 deletionsdrivers/pci/hotplug/pciehp_core.c
- drivers/pci/hotplug/pciehp_ctrl.c 2 additions, 0 deletionsdrivers/pci/hotplug/pciehp_ctrl.c
- drivers/pci/hotplug/pciehp_hpc.c 2 additions, 0 deletionsdrivers/pci/hotplug/pciehp_hpc.c
- drivers/pci/hotplug/pciehp_pci.c 2 additions, 0 deletionsdrivers/pci/hotplug/pciehp_pci.c
Please register or sign in to comment