PCI/ERR: Simplify broadcast callouts
authorKeith Busch <keith.busch@intel.com>
Thu, 20 Sep 2018 16:27:14 +0000 (10:27 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 2 Oct 2018 21:04:40 +0000 (16:04 -0500)
commit542aeb9c8f930e4099432cb0bec17b92c0175e08
tree8585dff3e123253286ab8e3e0b5653dba7666955
parentbfcb79fca19d267712e425af1dd48812c40dec0c
PCI/ERR: Simplify broadcast callouts

There is no point in having a generic broadcast function if it needs to
have special cases for each callback it broadcasts.

Abstract the error broadcast to only the necessary information and removes
the now unnecessary helper to walk the bus.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Sinan Kaya <okaya@kernel.org>
drivers/pci/pcie/err.c