diff options
author | Sam Bobroff <sbobroff@linux.ibm.com> | 2019-08-16 14:48:12 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-08-22 23:12:46 +1000 |
commit | b093f2cbedfbaba6bf1c520fbfcb46403f3c7802 (patch) | |
tree | fb97fea6cb3c206898227f79ff0fc72dd21c18e6 /arch/powerpc/include/asm/ppc-pci.h | |
parent | 7c33a994d32d89937b23673e7507e8ec1daad893 (diff) | |
download | lwn-b093f2cbedfbaba6bf1c520fbfcb46403f3c7802.tar.gz lwn-b093f2cbedfbaba6bf1c520fbfcb46403f3c7802.zip |
powerpc/eeh: Introduce EEH edev logging macros
Now that struct eeh_dev includes the BDFN of it's PCI device, make use
of it to replace eeh_edev_info() with a set of dev_dbg()-style macros
that only need a struct edev.
With the BDFN available without the struct pci_dev, eeh_pci_name() is
now unnecessary, so remove it.
While only the "info" level function is used here, the others will be
used in followup work.
Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/f90ae9a53d762be7b0ccbad79e62b5a1b4f4996e.1565930772.git.sbobroff@linux.ibm.com
Diffstat (limited to 'arch/powerpc/include/asm/ppc-pci.h')
0 files changed, 0 insertions, 0 deletions