PCI: Report quirk timings with pci_info() instead of pr_debug()
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 14 Mar 2018 12:42:56 +0000 (07:42 -0500)
committerBjorn Helgaas <helgaas@kernel.org>
Mon, 19 Mar 2018 18:08:38 +0000 (13:08 -0500)
commitd89bd9195db62f51a5aaa88d887d81a7967554bd
treec98a0cb93f135f44af129e3b2a91b464da019483
parent9df1c6ecbf172fedb1f4f76585338860595b9bf7
PCI: Report quirk timings with pci_info() instead of pr_debug()

With "initcall_debug", we report how long every PCI quirk took.  Previously
we used pr_debug(), which means you have to figure out how to enable debug
output.

Log these timings using pci_info() instead so it doesn't depend on DEBUG,
CONFIG_DYNAMIC_DEBUG, etc.

Also, don't log anything at all unless "initcall_debug" is specified.  This
matches what we do in do_one_initcall_debug().

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/quirks.c