OSDN Git Service

PCI: pciehp: Remove pciehp_debug uses
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 8 May 2019 19:59:00 +0000 (14:59 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 9 May 2019 21:45:19 +0000 (16:45 -0500)
commit7e696b8ae9a7f939584284a12eec3b7c62123836
treee3393faeb8ba664c6d9739d8345ca9c669bf976b
parent9cc6f75b27e76d38fa7c2825c4a9a64fe26e4c77
PCI: pciehp: Remove pciehp_debug uses

We're about to convert pciehp to the dyndbg mechanism, which means we can
eventually remove pciehp_debug.

Replace uses of pciehp_debug with dbg() and ctrl_dbg(), which check
pciehp_debug internally.

Link: https://lore.kernel.org/lkml/20190509141456.223614-6-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
drivers/pci/hotplug/pciehp_hpc.c