net: alx: switch to pci_alloc_irq_vectors
authorChristoph Hellwig <hch@lst.de>
Tue, 11 Apr 2017 11:01:21 +0000 (13:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Apr 2017 15:16:02 +0000 (11:16 -0400)
commitf3297f686db084465347c83edfcd1527994e7a9f
tree220af737805f5361f8be8dc3337cadb95d23e751
parentc6606a87dbb67ef79fc129c81e161f7791a1f047
net: alx: switch to pci_alloc_irq_vectors

Remove the deprecated pci_enable_msix API in favour of its successor,
and make sure to handle errors during IRQ setup properly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/alx/alx.h
drivers/net/ethernet/atheros/alx/main.c