PCI: Add wrappers for dev_printk()
authorFrederick Lawler <fred@fredlawl.com>
Thu, 18 Jan 2018 18:55:24 +0000 (12:55 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Sep 2018 17:55:54 +0000 (19:55 +0200)
commit15677df25afc6e4d27731c9c47888807588f7ffc
tree79d799dfc2b0dd25fc06e8019f5cf6ccf4e25712
parent4bfd910e8fb3b86660243ac0cf1b31df842b54b2
PCI: Add wrappers for dev_printk()

commit 7506dc7989933235e6fc23f3d0516bdbf0f7d1a8 upstream.

Add PCI-specific dev_printk() wrappers and use them to simplify the code
slightly.  No functional change intended.

Signed-off-by: Frederick Lawler <fred@fredlawl.com>
[bhelgaas: squash into one patch]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
[only take the pci.h portion of this patch, to make backporting stuff
easier over time - gregkh]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/pci.h