]> git.dujemihanovic.xyz Git - linux.git/commit
sub: cdns3: Use predefined PCI vendor ID constant
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 13 Sep 2024 13:17:10 +0000 (16:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Sep 2024 13:39:06 +0000 (15:39 +0200)
commit68d4209158f43a558c5553ea95ab0c8975eab18c
treebc5e3c4b095606002806ae5b8e1db8a24614e3e5
parentd2a18bbc5279ddc090f1b776740f6909d2248c3b
sub: cdns3: 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_DEVICE() macro and usual pattern for
PCI class and device IDs.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240913131710.3630560-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/cdns3/cdns3-pci-wrap.c
drivers/usb/cdns3/cdnsp-pci.c