summaryrefslogtreecommitdiff
path: root/drivers/bcma
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-10-04 15:59:33 +0300
committerBjorn Helgaas <bhelgaas@google.com>2021-10-13 01:37:15 +0300
commit8f5c335e34b5ae2dda6db2af300381fc9fb53fe7 (patch)
tree51265d6bdd2f5307b80a97355a1865cdad57c30c /drivers/bcma
parenta534ff3f4d6082f5ac228194accb7b414f0d6f0b (diff)
downloadlinux-8f5c335e34b5ae2dda6db2af300381fc9fb53fe7.tar.xz
crypto: qat - simplify adf_enable_aer()
A struct pci_driver is shared across all device instances, so assigning pci_driver.err_handler once per device isn't really sensible. Set adf_driver.err_handler statically instead of in adf_enable_aer(). This removes a use of pci_dev->driver, which is a step toward removing pci_dev->driver altogether. Since adf_enable_aer() returns zero unconditionally, make it a void function. Link: https://lore.kernel.org/r/20211004125935.2300113-10-u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/bcma')
0 files changed, 0 insertions, 0 deletions