net: ethernet: aquantia: switch to pci_alloc_irq_vectors
authorChristoph Hellwig <hch@lst.de>
Wed, 15 Feb 2017 07:38:47 +0000 (08:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Feb 2017 18:05:29 +0000 (13:05 -0500)
commit36a4a50f4048f21b7c2694b37804dfc1d9890ab4
tree9ed127d002a1441b142f732cd76ad5d7b11f07aa
parentdfb011d241e26ebe8ac05aaa2597f00ac2918122
net: ethernet: aquantia: switch to pci_alloc_irq_vectors

pci_enable_msix has been long deprecated, but this driver adds a new
instance.  Convert it to pci_alloc_irq_vectors so that no new instance
of the deprecated function reaches mainline.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Pavel Belous <pavel.belous@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c