xen-pciback: Use dev_printk() when possible
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 27 May 2020 17:43:25 +0000 (12:43 -0500)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Wed, 27 May 2020 22:27:37 +0000 (17:27 -0500)
commit69049454206ac7f7e6e0683bc7fd43eb61746479
treed1d1cfff261c5f5f62282f23ff3c17320870ada8
parent2abb65a39bcca0629437bb83e583889f9e1ad696
xen-pciback: Use dev_printk() when possible

Use dev_printk() when possible to include device and driver information in
the conventional format.

Add "#define dev_fmt" when needed to preserve DRV_NAME or KBUILD_MODNAME in
messages.

No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20200527174326.254329-2-helgaas@kernel.org
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/xen-pciback/conf_space.c
drivers/xen/xen-pciback/conf_space_header.c
drivers/xen/xen-pciback/conf_space_quirks.c
drivers/xen/xen-pciback/pci_stub.c
drivers/xen/xen-pciback/pciback_ops.c
drivers/xen/xen-pciback/vpci.c