nfp: Use PCI_DEVICE_ID_NETRONOME_NFP* defines
authorSimon Horman <simon.horman@netronome.com>
Fri, 17 Feb 2017 07:57:54 +0000 (08:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Feb 2017 20:11:34 +0000 (15:11 -0500)
commit3b4735281f67b0aa62bf74c8a1a7758c17f7158d
treeb7072f3dbdf70d45789389f535f831b456499779
parent806a837650501f5eee359a197824db8752fa6e6c
nfp: Use PCI_DEVICE_ID_NETRONOME_NFP* defines

Use PCI_DEVICE_ID_NETRONOME_NFP*, defined in linux/pci_ids.h,
rather than replicating the same values in the NFP driver.

Signed-off-by: Simon Horman <simon.horman@netronome.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_main.c
drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h