mbox series

[0/3] r8169: extend PCI core and switch to device-managed functions in probe

Message ID 9eee5aba-a739-a609-fd65-76666f377ed1@gmail.com
Headers show
Series r8169: extend PCI core and switch to device-managed functions in probe | expand

Message

Heiner Kallweit Dec. 9, 2017, 11:30 p.m. UTC
Probe error path and remove callback can be significantly simplified
by using device-managed functions. To be able to do this in the r8169
driver we need a device-managed version of pci_set_mwi first.

Heiner Kallweit (3):
  PCI: introduce device-managed version of pci_set_mwi
  r8169: switch to device-managed functions in probe
  r8169: remove netif_napi_del in probe error path

 drivers/net/ethernet/realtek/r8169.c | 87 +++++++++---------------------------
 drivers/pci/pci.c                    | 29 ++++++++++++
 include/linux/pci.h                  |  1 +
 3 files changed, 50 insertions(+), 67 deletions(-)