]> git.hungrycats.org Git - linux/commit
net: macb: Use predefined PCI vendor ID constant
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 13 Sep 2024 12:51:46 +0000 (15:51 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Sep 2024 03:08:53 +0000 (20:08 -0700)
commit6503734916cc751bec825ff314d7cadaa587f2d0
tree627a78c5aa14ad66a290f28bf03bdabb3278e70d
parent9c699a8f3b273c62f7b364ff999e873501a1e834
net: macb: Use predefined PCI vendor ID constant

The PCI vendor ID for Cadence is defined in pci_ids.h. Use it.
While at it, move to PCI_VDEVICE() macro and usual pattern for
PCI device ID.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20240913125146.3628751-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cadence/macb_pci.c