]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sub: cdns2: Use predefined PCI vendor ID constant
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 13 Sep 2024 13:21:25 +0000 (16:21 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Sep 2024 13:39:04 +0000 (15:39 +0200)
commitd2a18bbc5279ddc090f1b776740f6909d2248c3b
treee9e54709cab9b320e1afda10f11cf52aec4eb657
parent93907620b308609c72ba4b95b09a6aa2658bb553
sub: cdns2: 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/20240913132125.3630860-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/cdns2/cdns2-pci.c